Action: mc_save_event

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:

do_action( 'mc_save_event', $action, $update, $event_id, $result )

Run action when an event is saved.

Parameters:
Name Type Description
$action string

Current action: edit, copy, add.

$update array

Data updated.

$event_id int

Event ID.

$result int | false

Result of the DB update query.

Source:

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: