WordPress at a glance
filter is not described

xmlrpc_prepare_media_item filter-hook . WP 3.4.0

Filters XML-RPC-prepared data for the given media item.


add_filter( 'xmlrpc_prepare_media_item', 'filter_function_name_5566', 10, 3 );
function filter_function_name_5566( $_media_item, $media_item, $thumbnail_size ){
	// filter...

	return $_media_item;
An array of media item data.
Media item object.
Image size.

Where the hook is called

wp-includes/class-wp-xmlrpc-server.php 1038
return apply_filters( 'xmlrpc_prepare_media_item', $_media_item, $media_item, $thumbnail_size );

Where the hook is used (in WP core)

Использование не найдено.