-
Notifications
You must be signed in to change notification settings - Fork 16
mc_save_grouped_events
github-actions[bot] edited this page Jun 3, 2026
·
4 revisions
Run action when a group of events are saved.
add_action(
'mc_save_grouped_events',
function(
int|false $result,
int $event_id,
array $update
) {
// Your code here.
},
10,
3
);-
int|false$resultCurrent action: edit, copy, add. -
int$event_idEvent ID. -
array$updateUpdated data.
do_action( 'mc_save_grouped_events', $result, $event_id, $update )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 )