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

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


Parameters

$image_size

Thumbnail image size.

$thumbnail_id

Attachment ID.


Source

File: wp-includes/theme-compat/embed-content.php

View on GitHub


Changelog

Changelog
Version Description
WP-4.5.0 Added $thumbnail_id parameter.
WP-4.4.0 Introduced.