xmlrpc_prepare_post WordPress Filter Hook

The xmlrpc_prepare_post hook is used to prepare a post for xmlrpc before it is sent. This hook is used to add or remove data from the post before it is sent.

apply_filters( 'xmlrpc_prepare_post', array $_post, array $post, array $fields ) #

Filters XML-RPC-prepared date for the given post.


Parameters

$_post

(array)An array of modified post data.

$post

(array)An array of post data.

$fields

(array)An array of post fields.


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