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 string
Thumbnail image size.
$thumbnail_id int
Attachment ID.

Top ↑

Source

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

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

Top ↑

Changelog

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

Top ↑

User Contributed Notes

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