-
Notifications
You must be signed in to change notification settings - Fork 16
mc_update_group_data
github-actions[bot] edited this page May 15, 2026
·
4 revisions
Filter calendar update data before saving an individual event when managing groups.
add_filter(
'mc_update_group_data',
function(
{array} $update,
{string} $event_author,
{string} $action,
{int} $event_id
) {
// Your code here.
return $update;
},
10,
4
);-
{array}$updateEvent update data for groups. -
{string}$event_authorAuthor for these events. -
{string}$actionAction performed. -
{int}$event_idEvent ID being updated.
{array}
apply_filters( 'mc_update_group_data', $update, $event_author, $action, $event_id )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 )