Action: mc_transition_event

do_action( 'mc_transition_event', $prev_event_status, $new_event_status, $action, $update, $event_id )

Execute an action when an event changes status.

Parameters:
Name Type Description
$prev_event_status int

Previous status.

$new_event_status int

New status.

$action string

Action being performed.

$update array

Submitted event data.

$event_id int

Event ID.

Source: