Query for specific event category
-
I want to display the upcoming event of specific category which is under private party im using this code but this code is displaying the past and upcoming event please help.
<?php
$args = array(‘tax_query’ => array(
array(
‘taxonomy’ => ‘tribe_events_cat’,
‘field’ => ‘slug’,
‘terms’ => ‘private-party’,)
),);
$events = new WP_query($args);
?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Query for specific event category’ is closed to new replies.