On this page
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_dataarray-
Parsed array of post data.
$content_structarray-
Post data array.
Source
File: wp-includes/class-wp-xmlrpc-server.php. View all references
$post_data = apply_filters( 'xmlrpc_wp_insert_post_data', $post_data, $content_struct );
Related
Used By
| Used By | Description |
|---|---|
| wp_xmlrpc_server::_insert_post() wp-includes/class-wp-xmlrpc-server.php | Helper method for wp_newPost() and wp_editPost(), containing shared logic. |
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_wp_insert_post_data