Skip to content

mc_gmap_html

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Source HTML for generating a map of calendar locations.

Auto-generated Example

add_filter(
   'mc_gmap_html',
    function(
        string $output,
        object|array $event
    ) {
        // Your code here.
        return $output;
    },
    10,
    2
);

Parameters

  • string $output Formatted HTML to be returned.
  • object|array $event Object or array of objects containing one or more objects with location information.

Returns

string Formatted HTML to be parsed by Google Maps JS.

Files

apply_filters( 'mc_gmap_html', $markers, $event )

← All Hooks

Clone this wiki locally