xmlrpc_wp_insert_post_data WordPress Filter Hook

The xmlrpc_wp_insert_post_data hook allows you to modify the data that is being inserted into a post via the WordPress XML-RPC interface. This can be useful if you want to add your own data to a post, or if you want to modify the data that is being inserted.

apply_filters( 'xmlrpc_wp_insert_post_data', array $post_data, array $content_struct ) #

Filters post data array to be inserted via XML-RPC.


Parameters

$post_data

(array)Parsed array of post data.

$content_struct

(array)Post data 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