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



xmlrpc_default_taxonomy_fields › WordPress Filter Hooks

Since3.4.0
Deprecatedn/a
apply_filters( 'xmlrpc_default_taxonomy_fields', array( 'labels', 'cap', 'object_type' )
Parameters: (2)
  • () fields An array of taxonomy fields to retrieve. By default, contains 'labels', 'cap', and 'object_type'.
    Required: Yes
  • () method The method name.
    Required: Yes
Defined at:
Codex:

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





Source

$fields = apply_filters( 'xmlrpc_default_taxonomy_fields', array( 'labels', 'cap', 'object_type' ), 'wp.getTaxonomy' );