do_action( 'mc_save_event', $action, $data, $event_id, $result )
Run action when an event is saved.
Parameters:
Name | Type | Description |
---|---|---|
$action |
string | Current action: edit, copy, add. |
$data |
array | Data updated. |
$event_id |
int | Event ID. |
$result |
int | false | Result of the DB update query. |
- Source: