eventorganiser_venue_marker
(filter)
Filters the url of the venue map marker. Set to `null` for default.
Parameters
string|null
|
$icon |
Url to the icon image. Null to use default.
|
int
|
$venue_id |
The ID of the venue.
|
array
|
$args |
An array of map options. See documentation for eo_get_venue_map() .
|
Example Usage
add_filter( 'eventorganiser_venue_marker', 'my_callback_function', 10, 3 );
function my_callback_function( $icon, $venue_id, $args ){
//Change first value and return it
return $icon
};
Resources