apply_filters( ’embed_thumbnail_id’, int|false $thumbnail_id )

In this article

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

Parameters

$thumbnail_idint|false
Attachment ID, or false if there is none.

Source

$thumbnail_id = apply_filters( 'embed_thumbnail_id', $thumbnail_id );

Changelog

VersionDescription
4.9.0Introduced.

User Contributed Notes

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