embed_thumbnail_id
apply_filters( ’embed_thumbnail_id’, int $thumbnail_id )
过滤器::过滤嵌入模板中使用的缩略图图像ID。
Filter Hook: Filters the thumbnail image ID for use in the embed template.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$thumbnail_id | (int) | 附件ID。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
4.9.0 | wp-includes/theme-compat/embed-content.php:32 | 0 | 0 |
embed_thumbnail_id 为WP2原创文章,链接:https://www.wp2.cn/hook/embed_thumbnail_id/