WP_Tax_Query Generator March 11, 2019 Public Emiliano Garcia Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone golf $tax_query = array( array( 'taxonomy' => 'product_cat', 'terms' => 'golf', 'field' => 'slug', ), );