WP_Tax_Query Generator October 12, 2019 Public Thushan Fernando Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Video $tax_query = array( array( 'taxonomy' => 'post_category', 'terms' => 'video', 'field' => 'slug', ), );