wpseek.com
A WordPress-centric search engine for devs and theme authors



embed_thumbnail_id › WordPress Filter Hooks

Since4.9.0
Deprecatedn/a
apply_filters( 'embed_thumbnail_id', $thumbnail_id )
Parameters:
  • (int|false) $thumbnail_id Attachment ID, or false if there is none.
    Required: Yes
Defined at:
Codex:

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





Source

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