-
Notifications
You must be signed in to change notification settings - Fork 16
mc_map_icon
github-actions[bot] edited this page May 15, 2026
·
4 revisions
URL to Google Map marker image.
add_filter(
'mc_map_icon',
function(
{string} $icon,
{object} $location,
string {string}
) {
// Your code here.
return $icon;
},
10,
3
);-
{string}$iconFormatted HTML to be returned. -
{object}$locationEvent or location object containing location information. -
string{string}$source 'location'. Event source removed in 3.5. Other variable names:$location
{string} URL to icon.
apply_filters( 'mc_map_icon', '//maps.google.com/mapfiles/marker_green.png', $location, 'location' )Replace the list footer for upcoming events lists. Default value </ul></div>.
add_filter(
'mc_upcoming_events_footer',
function( string $header ) {
// Your code here.
return $header;
}
);-
string$headerExisting upcoming events footer HTML.
string List header HTML.
apply_filters( 'mc_upcoming_events_footer', $footer )