wpseek.com
WordPress开发者和主题制作者的搜索引擎



embed_thumbnail_id › WordPress过滤钩子

Since4.9.0
已弃用n/a
apply_filters( 'embed_thumbnail_id', $thumbnail_id )
参数:
  • (int|false) $thumbnail_id Attachment ID, or false if there is none.
    Required: Yes
定义在:
文档:

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





源码

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