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



embed_thumbnail_image_size › WordPress Filter Hooks

Since4.5.0
Deprecatedn/a
apply_filters( 'embed_thumbnail_image_size', $image_size, $thumbnail_id )
Parameters: (2)
  • (string) $image_size Thumbnail image size.
    Required: Yes
  • (int) $thumbnail_id Attachment ID.
    Required: Yes
Defined at:
Codex:

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





Source

$image_size = apply_filters( 'embed_thumbnail_image_size', $image_size, $thumbnail_id );