wpseek.com
A WordPress-centric search engine for devs and theme authors



xmlrpc_default_posttype_fields › WordPress Filter Hooks

Since3.4.0
Deprecatedn/a
apply_filters( 'xmlrpc_default_posttype_fields', array( 'labels', 'cap', 'taxonomies' )
Parameters: (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
Defined at:
Codex:

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





Source

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