xmlrpc_prepare_term WordPress Filter Hook
The xmlrpc_prepare_term hook is called before a new term is created on a WordPress site via XML-RPC. This hook can be used to modify the new term data before it is inserted into the database.
apply_filters( 'xmlrpc_prepare_term', array $_term , array|object $term ) #
Filters XML-RPC-prepared data for the given term.
Parameters
- $_term
(array)An array of term data.
- $term
(array|object)Term object or array.
Source
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |