Skip to content

mc_upcoming_events_header

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

Replace the list header for upcoming events lists. Default value <div class='mc-event-list-container'><ul id='upcoming-events-$hash' class='mc-event-list upcoming-events'$lang>.

Auto-generated Example

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

Parameters

  • string $header Existing upcoming events header HTML.

Returns

string List header HTML.

Files

apply_filters( 'mc_upcoming_events_header', $header )

← All Hooks

Clone this wiki locally