A WordPress-centric search engine for devs and theme authors



xmlrpc_prepare_media_item ›

Since3.4.0
Deprecatedn/a
apply_filters( 'xmlrpc_prepare_media_item', $_media_item, $media_item, $thumbnail_size )
Parameters: (3)
  • (array) $_media_item An array of media item data.
    Required: Yes
  • (object) $media_item Media item object.
    Required: Yes
  • (string) $thumbnail_size Image size.
    Required: Yes
Defined at:
Codex:

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





Source

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