W3cubDocs

/WordPress

apply_filters( 'xmlrpc_prepare_media_item', array $_media_item, object $media_item, string $thumbnail_size )

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

Parameters

$_media_item

(array) An array of media item data.

$media_item

(object) Media item object.

$thumbnail_size

(string) Image size.

Source

File: wp-includes/class-wp-xmlrpc-server.php

View on Trac

Changelog

Version Description
3.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/xmlrpc_prepare_media_item