WP_Tax_Query Generator May 15, 2022 Public Jeremy Prentice Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone slug $tax_query = array( array( 'taxonomy' => 'segment', 'terms' => array( 'term', ' 2term' ), 'field' => 'slug', ), );