xmlrpc_wp_insert_post_data, $post_data, $content_struct

xmlrpc_wp_insert_post_data, $post_data, $content_struct

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('xmlrpc_wp_insert_post_data, $post_data, $content_struct') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 1701
    		 *
    		 * @param array $post_data      Parsed array of post data.
    		 * @param array $content_struct Post data array.
    		 */
    		$post_data = apply_filters( 'xmlrpc_wp_insert_post_data', $post_data, $content_struct );
    
    		// Remove all null values to allow for using the insert/update post default values for those keys instead.
    		$post_data = array_filter(
    			$post_data,
    			static function ( $value ) {
    				return null !== $value;