eventorganiser_venue_map_options
(filter)
Filters the tooltip content for a venue.
Example
//Styles your google map
add_filter( 'eventorganiser_venue_map_options', 'style_my_google_map', 10 );
function style_my_google_map( $map_args ){
$map_args['styles'] = {set styles};;
return $map_args;
}
Parameters
array
|
$map |
Array of map properties, including the key 'location' (array of locations) height, width, zoom and styles.
|
Example Usage
add_filter( 'eventorganiser_venue_map_options', 'my_callback_function', 10, 1 );
function my_callback_function( $map ){
//Change first value and return it
return $map
};
Resources