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



embed_thumbnail_id ›

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

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





源码

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