Skip to content

mc_map_label

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

Label for link to Maps for event location.

Auto-generated Example

add_filter(
   'mc_map_label',
    function(
        string $label,
        string $map_label
    ) {
        // Your code here.
        return $label;
    },
    10,
    2
);

Parameters

  • string $label Map to {event name}.
  • string $map_label Location name.

Returns

string Label used inside map link.

Files

apply_filters( 'mc_map_label', $label, $map_label )

← All Hooks

Clone this wiki locally