WordPress at a glance
filter is not described

xmlrpc_prepare_post_type filter-hook . WP 3.4.0

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

Usage

add_filter( 'xmlrpc_prepare_post_type', 'filter_function_name_4788', 10, 2 );
function filter_function_name_4788( $_post_type, $post_type ){
	// filter...

	return $_post_type;
}
$_post_type(array)
An array of post type data.
$post_type(WP_Post_Type)
Post type object.

Notes

  • Since 4.6.0 Converted the $post_type parameter to accept a WP_Post_Type object.

Where the hook is called

wp_xmlrpc_server::_prepare_post_type()
wp-includes/class-wp-xmlrpc-server.php 988
return apply_filters( 'xmlrpc_prepare_post_type', $_post_type, $post_type );

Where the hook is used (in WP core)

Does not used.