A WordPress-centric search engine for devs and theme authors



embed_thumbnail_id ›

Since4.9.0
Deprecatedn/a
apply_filters( 'embed_thumbnail_id', $thumbnail_id )
Parameters:
  • (int) $thumbnail_id Attachment ID.
    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 );