xmlrpc_prepare_taxonomy WordPress Filter Hook
The xmlrpc_prepare_taxonomy hook is called when preparing a taxonomy for XML-RPC. This hook can be used to modify the taxonomy data before it is returned to the client.
apply_filters( 'xmlrpc_prepare_taxonomy', array $_taxonomy , WP_Taxonomy $taxonomy , array $fields ) #
Filters XML-RPC-prepared data for the given taxonomy.
Parameters
- $_taxonomy
(array)An array of taxonomy data.
- $taxonomy
(WP_Taxonomy)Taxonomy object.
- $fields
(array)The subset of taxonomy fields to return.
Source
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |