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.
Source
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |