-
Notifications
You must be signed in to change notification settings - Fork 16
mc_recurring_events
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
For large lists of recurring events, recurring events are not shown by default.
Only runs if number of recurring events higher than mc_recurring_event_limit.
add_filter(
'mc_recurring_events',
function(
string $output,
array $results
) {
// Your code here.
return $output;
},
10,
2
);-
string$outputHTML output of events to shown. Default empty string. -
array$resultsArray of related event objects.
apply_filters( 'mc_recurring_events', '', $results )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 )