eo_get_venue_name( $venue_slug_or_id = '' )
Returns the name of the venue of an event.
If used without any arguments uses the venue of the current event.
Returns the name of a venue specified by it's slug or ID. If used inside the loop, it can return the name of the current post's venue. If specifying the venue by ID, the ID must be an integer.
This function behaves differently to eo_get_venue_slug() which takes the event ID, rather than venue ID or slug, as an optional argument.
Inside the loop, you can output the current event's venue
<?php echo eo_get_venue_name(); ?>
To get the name of event with id 7, you can use
eo_get_venue to obtain the venue ID of the event.
$venue_id = eo_get_venue(7);
$venue_name = eo_get_venue_name(%venue_id);
$venue_slug_or_id = ''
The venue ID (as an integer) or slug (as a string). Uses venue of current event if empty.
The name of the corresponding venue