apply_filters( 'xmlrpc_default_taxonomy_fields', array $fields , string $method )
Filters the default taxonomy query fields used by the given XML-RPC method.
Parameters
-
$fields
array -
An array of taxonomy fields to retrieve. By default, contains
'labels'
,'cap'
, and'object_type'
. -
$method
string -
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' );
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |