mc_before_save_update

Details

File: my-calendar-event-manager.php

Code: $update = apply_filters( 'mc_before_save_update', $update, $event_id );

Since: 2.2.0

Example

				
				

add_filter( 'mc_before_save_update', 'my_function', 10, 2 );
function my_function( $update, $event_id ) {
// modify $update array before updating event
return $update;
}

,

Return to Top