Hi. I had asked this question directly to The Events Calendar support but no help, so has anyone faced this issue.
This query is about tribe_get_events under which I want to get todays events but ordered by time. Using start_date and end_date I am able to retrieve all events for today, but they come in the order the event had started and not as per time.
Their documentation gives the following code
'orderby' =>'meta_value', 'meta_key' => '_EventStartDate', 'order' => 'ASC',
I see _EventStartDate meta has the event start date and time. Is it possible to split the time and order events by time?
Right now events show up like using above code.
but I want to sort the daily events by start time like this.
The above function allows us to sort by Date + Time as thats a single field. Any way we can split the date & time and just sort by time. Any help with sorting the events as per time? Thank you.