WP_Tax_Query Generator July 11, 2017 Public Travis Amaral Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone product cat $tax_query = array( array( 'taxonomy' => 'product_cat', 'field' => 'term_id', ), );