S2w Tax Query
S2w Tax Query
$tax_query = array( 'relation' => 'AND', array( 'taxonomy' => 's2w_location', 'terms' => '1', 'field' => 'term_id', 'operator' => 'AND', 'include_children' => false, ), array( 'taxonomy' => 's2w_type', 'terms' => '3', 'field' => 'term_id', 'operator' => 'IN', 'include_children' => false, ), array( 'taxonomy' => 's2w_benefits', 'terms' => array( '1', '3', '4' ), 'field' => 'term_id', 'operator' => 'IN', 'include_children' => false, ), );