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.


Top ↑

Source

File: wp-includes/class-wp-xmlrpc-server.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More