xmlrpc_prepare_term filter-hook . WP 3.4.0
Filters XML-RPC-prepared data for the given term.
Usage
add_filter( 'xmlrpc_prepare_term', 'filter_function_name_1286', 10, 2 ); function filter_function_name_1286( $_term, $term ){ // filter... return $_term; }
- $_term(array)
- An array of term data.
- $term(array/object)
- Term object or array.
Changelog
Since 3.4.0 | Introduced. |
Where the hook is called
xmlrpc_prepare_term
wp-includes/class-wp-xmlrpc-server.php 820
return apply_filters( 'xmlrpc_prepare_term', $_term, $term );