Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $tax_query = array(
- 'relation' => 'AND',
- array(
- 'taxonomy' => $taxonomy,
- 'terms' => $terms_array,
- 'field' => 'term_id',
- ),
- array(
- 'taxonomy' => $taxonomy,
- 'terms' => array( 'all-countries' ),
- 'field' => 'slug',
- 'operator' => 'NOT IN'
- ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement