Skip to content

mc_event_slug

github-actions[bot] edited this page Jun 9, 2026 · 5 revisions

Filter default calendar post type slugs. Default 'mc-events' for events and 'mc-locations' for locations.

Auto-generated Example

add_filter(
   'mc_event_slug',
    function( string $key ) {
        // Your code here.
        return $key;
    }
);

Parameters

  • string $key Slug.

Returns

string

Files

apply_filters( 'mc_event_slug', $key )

← All Hooks

Clone this wiki locally