mc_save_event

Details

File: my-calendar-event-manager.php

Code: do_action( 'mc_save_event', $action, $data, $event_id, $result );

Since: 2.0.0

Example

				
				

add_action( 'mc_save_event', 'my_function', 10, 3 );
function my_function( $action, $data, $new_event ) {
// @$action ('edit', 'add', 'copy')
// @$data (data inserted into table)
// @$new_event (event ID)
// @$result (boolean result of db transaction)
}

Return to Top