WP_Tax_Query Generator July 28, 2022 Public Valeria Melinte Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone tax_query $tax_query = array( array( 'taxonomy' => 'product-category', 'field' => 'term_id', ), );