Source file: class.json-api-endpoints.php
View in GitHubParameters
- $metadata[’sizes’]
-
(array) Array of thumbnail sizes available for a given attachment ID.
- $media_id
-
(string) Attachment ID.
Changelog
Since: Jetpack 3.9.0
apply_filters ( 'rest_api_thumbnail_sizes', array $metadata[’sizes’] , string $media_id )
Source file: class.json-api-endpoints.php
View in GitHub(array) Array of thumbnail sizes available for a given attachment ID.
(string) Attachment ID.
Since: Jetpack 3.9.0