mc_map_icon - joedolson/my-calendar GitHub Wiki
URL to Google Map marker image.
Auto-generated Example
add_filter(
'mc_map_icon',
function(
string $icon,
object $location,
string string
) {
// Your code here.
return $icon;
},
10,
3
);
Parameters
string$iconFormatted HTML to be returned.object$locationEvent or location object containing location information.stringstring$source 'location'. Event source removed in 3.5. Other variable names:$location
Returns
string URL to icon.
Files
apply_filters( 'mc_map_icon', '//maps.google.com/mapfiles/marker_green.png', $location, 'location' )