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

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


Parameters

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

Top ↑

Source

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

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

Top ↑

Changelog

Changelog
Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes

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