embed_thumbnail_image_size

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$image_size

Thumbnail image size.

$thumbnail_id

Attachment ID.

Source Source

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

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply