xmlrpc_default_taxonomy_fields WordPress Filter Hook
The xmlrpc_default_taxonomy_fields hook allows you to add custom fields to the default set of fields returned by the XML-RPC getTaxonomies method. This is useful if you want to add extra data to your taxonomies, such as descriptions or images.
apply_filters( 'xmlrpc_default_taxonomy_fields', array $fields , string $method ) #
Filters the taxonomy query fields used by the given XML-RPC method.
Parameters
- $fields
(array)An array of taxonomy fields to retrieve.
- $method
(string)The method name.
Source
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |