Filter the thumbnail sizes available for each attachment ID.
Parameters
- $metadata
array ['sizes'] Array of thumbnail sizes available for a given attachment ID.
- $media_id
int The media item ID.
Changelog
- Introduced in Jetpack 3.9.0
rest_api_thumbnail_sizesFilter the thumbnail sizes available for each attachment ID.
array['sizes'] Array of thumbnail sizes available for a given attachment ID.
intThe media item ID.