我希望能够为 Jetpack 特色内容模块调用用户选择的标签 ID,但我找不到包含该值的函数或对象。
我基本上是在尝试使用以下参数从 WP_Query 中过滤精选帖子:
$args = array(
'ignore_sticky_posts' => 1,
'posts_per_page' => $recent_posts_count,
'tag__not_in' => array(
[HERE IS WHERE I WANT PHP TO TELL ME THE TAG ID]
),
'post_type' => array(
'post'
)
);