Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $country_arr = array(
- 'key' => '_ct_multiselectbox_4e4980ea9dbd9',
- 'value' => array('USA', 'Australia'),
- 'compare' => 'IN',
- 'type' => 'CHAR'
- );
- $vacation_arr = array(
- 'key' => '_ct_multiselectbox_4e46766e7ada0',
- 'value' =>array('Sun', 'Ski'),
- 'compare' => 'IN',
- 'type' => 'CHAR'
- );
- $supplier_type = array(
- 'taxonomy' => 'wdl_supplier_type',
- 'field' => 'slug',
- 'terms' => 'wedding_photographers'
- );
- $args = array(
- 'post_type' => 'wdl',
- 'tax_query' => $supplier_type,
- 'meta_query' => array($country_arr,$vacation_arr)
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement