WP_Tax_Query Generator April 25, 2019 Public Web Guy Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Test Query Learning…. $tax_query = array( array( 'taxonomy' => 'on-loan', 'field' => 'slug', ), );