Hi @kymbo71
Glad you reached out.
Thanks for bringing this to our attention.
We have an internal ticket (EA-223) to review this. In the meantime, please try the following code snippet:
add_filter('tribe_aggregator_before_insert_event', 'tribeEventContentFilter');
add_filter('tribe_aggregator_before_save_event', 'tribeEventContentFilter');
function tribeEventContentFilter($event) {
if (isset($event['eventbrite']) && $event['eventbrite']->online_event == true) {
$venue = get_page_by_title('Online Event', 'OBJECT', Tribe__Events__Venue::POSTTYPE);
if (!$venue) {
$newVenue = ['Venue' => 'Online Event'];
$event['EventVenueID'] = Tribe__Events__Venue::instance()->create($newVenue, null, true);
} else {
$event['EventVenueID'] = $venue->ID;
}
}
return $event;
}
Please let us know how it goes.
Thanks
Rob
Hey @kymbo71, this thread has been inactive for a while, so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up, and we’d be happy to help.
Cheers,
Abz