-
Notifications
You must be signed in to change notification settings - Fork 16
mc_todays_events_header
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Replace the list header for today's events lists. Default value <ul id='todays-events-$hash' class='mc-event-list todays-events'$lang>.
add_filter(
'mc_todays_events_header',
function( string ) {
// Your code here.
return string;
}
);-
string$header Existing today's events header HTML. Other variable names:$header
string List header HTML.
apply_filters( 'mc_todays_events_header', $header )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 )