WP_Tax_Query Generator July 2, 2021 Public Salman Lakhany Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Taxonomy $tax_query = array( array( 'taxonomy' => 'project_categories', 'terms' => 'featured', 'field' => 'slug', ), );