apply_filters ( 'rest_api_thumbnail_size_urls', array $metadata[’sizes’] )

Filter the thumbnail URLs for attachment files.

Source file: class.json-api-endpoints.php

View in GitHub

Parameters

$metadata[’sizes’]

(array) Array with thumbnail sizes as keys and URLs as values.


Changelog

Since: Jetpack 7.1.0


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s