tribe_get_events() skips current events
-
I have been searching around and the most relevant result was this thread:
The person who started this thread doesn’t want an event that has already started to display. I have the opposite issue. I WANT the current events to display until they are over. Barry (the MT support person) explains that displaying events until their end date has passed is “expected behavior”. That is not my experience.
Summary: I would like to use tribe_get_events() to get all events that have a start date in the future OR an end date in the future (or both).
I have tried the following:
$upcoming_events = tribe_get_events( array( 'eventDisplay' => 'list', ) );
$upcoming_events = tribe_get_events( array( 'eventDisplay' => 'upcoming', ) );
I can’t figure out why the behavior of this function that Barry says is expected isn’t what I’m getting. Any help would be much appreciated.
Thanks,
Swani
- The topic ‘tribe_get_events() skips current events’ is closed to new replies.