wpseek.com
WordPress开发者和主题制作者的搜索引擎



xmlrpc_default_posttype_fields › WordPress过滤钩子

Since3.4.0
已弃用n/a
› apply_filters( 'xmlrpc_default_posttype_fields', array( 'labels', 'cap', 'taxonomies' )
参数: (2)
  • () fields An array of post type fields to retrieve. By default, contains 'labels', 'cap', and 'taxonomies'.
    Required: Yes
  • () method The method name.
    Required: Yes
定义在:
文档:

Filters the default post type query fields used by the given XML-RPC method.





源码

$fields = apply_filters( 'xmlrpc_default_posttype_fields', array( 'labels', 'cap', 'taxonomies' ), 'wp.getPostType' );