A WordPress-centric search engine for devs and theme authors



xmlrpc_default_posttype_fields ›

Since3.4.0
Deprecatedn/a
apply_filters( 'xmlrpc_default_posttype_fields', array( 'labels', 'cap', 'taxonomies' )
Parameters: (2)
  • (array) $fields An array of post type query fields for the given method.
    Required: Yes
  • (string) $method The method name.
    Required: Yes
Defined at:
Codex:

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





Source

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