apply_filters( ‘xmlrpc_prepare_media_item’, array $_media_item, WP_Post $media_item, string $thumbnail_size )

In this article

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

Parameters

$_media_itemarray
An array of media item data.
$media_itemWP_Post
Media item object.
$thumbnail_sizestring
Image size.

Source

return apply_filters( 'xmlrpc_prepare_media_item', $_media_item, $media_item, $thumbnail_size );

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.