mc_map_html - joedolson/my-calendar GitHub Wiki
Source HTML for a single location marker.
Auto-generated Example
add_filter(
'mc_map_html',
function(
string $marker,
object $location
) {
// Your code here.
return $marker;
},
10,
2
);
Parameters
string$markerFormatted HTML to be returned.object$locationEvent object containing location information.
Returns
string Formatted HTML to be parsed by Google Maps JS.
Files
apply_filters( 'mc_map_html', $marker, $location )