WP_Tax_Query Generator March 20, 2019 Public Raffaele Rasini Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone product_category $tax_query = array( array( 'taxonomy' => 'product_category', 'field' => 'term_id', 'operator' => 'IN', ), );