xmlrpc_prepare_media_item

xmlrpc_prepare_media_item

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.4

apply_filters('xmlrpc_prepare_media_item') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 1089
    		 * @param array   $_media_item    An array of media item data.
    		 * @param WP_Post $media_item     Media item object.
    		 * @param string  $thumbnail_size Image size.
    		 */
    		return apply_filters( 'xmlrpc_prepare_media_item', $_media_item, $media_item, $thumbnail_size );
    	}
    
    	/**
    	 * Prepares page data for return in an XML-RPC object.
    	 *
    	 * @param WP_Post $page The unprepared page data.