📜  获取页面缩略图 id wordpress - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:58.640000             🧑  作者: Mango

代码示例3
$featuredImage = wp_get_attachment_url(get_post_thumbnail_id(get_queried_object_id()));