tribe_get_events returns wrong data
-
I am currently using the plugin’s function tribe_get_events to get all the events in a specified venue:
$events = tribe_get_events(array( 'eventDisplay'=>'list', 'posts_per_page' => 4, 'start_date' =>date('Y-m-d',current_time('timestamp')), 'featured'=> false, 'meta_key'=> '_EventVenueID', 'meta_value' => $venue_id, ));The issue is that it returns the ID of the venue in the EventStartDate field:
` [EventStartDate] => 109
[EventEndDate] => 2019-09-30 17:00:00 `Looking at the query tribe_get_events produces, there is this line:
MIN(wp_postmeta.meta_value) as EventStartDateHas anybody else encountered this issue? Is it a bug?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘tribe_get_events returns wrong data’ is closed to new replies.