eo_get_venue Since 1.0.0
Located at includes/event-organiser-venue-functions.php
Returns the ID of the venue of an event.
Can be used inside the loop to output the venue id of the current event by not passing an ID. Otherwise it returns the venue ID of the passed event ID.
This function can be used inside the Loop to return the venue ID of the current event
$current_events_venue_id = eo_get_venue();
To obtain the venue ID of event 23:
$venue_id = eo_get_venue(23);
||$post_id The event (post) ID. Uses current event if empty.|
Return value summary
||The corresponding venue (event-venue term) ID|