WP_Tax_Query Generator February 13, 2022 Public Andy Cholakov Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone new products $tax_query = array( array( 'taxonomy' => 'product_cat', 'terms' => 'new', 'field' => 'slug', ), );