On this page
apply_filters( 'xmlrpc_default_taxonomy_fields', array $fields, string $method )
Filters the taxonomy query fields used by the given XML-RPC method.
Parameters
$fieldsarray-
An array of taxonomy fields to retrieve.
$methodstring-
The method name.
Source
File: wp-includes/class-wp-xmlrpc-server.php. View all references
$fields = apply_filters( 'xmlrpc_default_taxonomy_fields', array( 'labels', 'cap', 'object_type' ), 'wp.getTaxonomy' );
Related
Used By
| Used By | Description |
|---|---|
| wp_xmlrpc_server::wp_getTaxonomy() wp-includes/class-wp-xmlrpc-server.php | Retrieve a taxonomy. |
| wp_xmlrpc_server::wp_getTaxonomies() wp-includes/class-wp-xmlrpc-server.php | Retrieve all taxonomies. |
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_default_taxonomy_fields