eo_get_venue_map
since 1.6
eo_get_venue_map( $venue_slug_or_id = '', $args = array() )
Returns the mark-up for a Google map of the venue (and enqueues scripts).
Accepts an arguments array corresponding to the attributes supported by the shortcode.
Examples
<?php echo eo_get_venue_map(array('london-eye','edinburgh-castle')); ?>
Parameters
mixed
|
$venue_slug_or_id = '' |
The venue ID as an integer. Or Slug as string. Uses venue of current event if empty.
|
|
$args = array() |
|
Return value
string
|
The markup of the map. False is no venue found.
|
Hooks
Changelog
Resources