xmlrpc_prepare_page filter-hookWP 3.4.0

Filters XML-RPC-prepared data for the given page.

Usage

add_filter( 'xmlrpc_prepare_page', 'wp_kama_xmlrpc_prepare_page_filter', 10, 2 );

/**
 * Function for `xmlrpc_prepare_page` filter-hook.
 * 
 * @param array   $_page An array of page data.
 * @param WP_Post $page  Page object.
 *
 * @return array
 */
function wp_kama_xmlrpc_prepare_page_filter( $_page, $page ){

	// filter...
	return $_page;
}
$_page(array)
An array of page data.
$page(WP_Post)
Page object.

Changelog

Since 3.4.0 Introduced.

Where the hook is called

wp_xmlrpc_server::_prepare_page()
xmlrpc_prepare_page
wp-includes/class-wp-xmlrpc-server.php 1169
return apply_filters( 'xmlrpc_prepare_page', $_page, $page );

Where the hook is used in WordPress

Usage not found.