Action: mc_save_location

do_action( 'mc_save_location', $loc_id, $add_loc, $add_loc )

Execute an action when a location is created during event editing.

Parameters:
Name Type Description
$loc_id int | false

Result of database insertion. Row ID or false.

$add_loc array

Array of location parameters to add.

$add_loc array

Array passed from event creation.

Source:

do_action( 'mc_save_location', $results, $add, $add )

Executed an action when the demo location is saved at installation.

Parameters:
Name Type Description
$results int | false

Result of database insertion. Row ID or false.

$add array

Array of location parameters to add.

$add array

Demo location array.

Source:

do_action( 'mc_save_location', $results, $add, $post )

Execute an action when a location is saved.

Parameters:
Name Type Description
$results int | false

Result of database insertion. Row ID or false.

$add array

Array of location parameters to add.

$post array

POST array.

Source: