WP_Tax_Query Generator June 30, 2020 Public Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone category $tax_query = array( array( 'taxonomy' => 'category', 'terms' => 'id', 'field' => 'term_taxonomy_id', ), );