过滤给定XML-RPC方法使用的默认查询字段。
原型
apply_filters( 'xmlrpc_default_posttype_fields', array $fields, string $method )
参数
$fields
(array)
给定方法的一个post类型查询字段数组。
$method
(string)
方法名称。
源文件
路径:wp-includes/class-wp-xmlrpc-server.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/xmlrpc_default_posttype_fields/