0
X
Add Snippet To Project
New Project
Add To Existing Project
$query_atts = [
'relation' => 'AND',
[
'taxonomy' => 'recipes',
'terms' => [
'keto',
'paleo',
'carnivore'
],
'field' => 'slug',
'include_children' => true,
'operator' => 'IN',
],
];
$tax_query = new WP_Tax_Query( $query_atts );