Filter hook 'xmlrpc_prepare_media_item'

in WP Core File wp-includes/class-wp-xmlrpc-server.php at line 1089

Description

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

Occurrences

Filename Line Number
wp-includes/class-wp-xmlrpc-server.php 1089

Parameters

Type Name Description
array $_media_item An array of media item data.
WP_Post $media_item Media item object.
string $thumbnail_size Image size.

PHP Doc

/**
		 * Filters XML-RPC-prepared data for the given media item.
		 *
		 * @since 3.4.0
		 *
		 * @param array   $_media_item    An array of media item data.
		 * @param WP_Post $media_item     Media item object.
		 * @param string  $thumbnail_size Image size.
		 */