apply_filters( ’embed_thumbnail_image_size’, string $image_size, int $thumbnail_id )

In this article

Filters the thumbnail image size for use in the embed template.

Parameters

$image_sizestring
Thumbnail image size.
$thumbnail_idint
Attachment ID.

Source

$image_size = apply_filters( 'embed_thumbnail_image_size', $image_size, $thumbnail_id );

Changelog

VersionDescription
4.5.0Added $thumbnail_id parameter.
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.