📅  最后修改于: 2022-03-11 14:55:13.038000             🧑  作者: Mango
$args = array(
'post_type' => 'post',
'tax_query' => array(
array(
'taxonomy' => 'people',
'field' => 'slug',
'terms' => 'bob',
),
),
);
$query = new WP_Query( $args );