Wordpress 钩子:embed_thumbnail_id
文章目录
过滤缩略图图像ID以在嵌入模板中使用。
原型
apply_filters( 'embed_thumbnail_id', int $thumbnail_id )
参数
$thumbnail_id
(int)
附件ID。
源文件
路径:wp-includes/theme-compat/embed-content.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/embed_thumbnail_id/
文章作者 iBllex
上次更新 2019-02-16