eventorganiser_delete_event_occurrences
(action)
Triggers just before the specified occurrences for the event are deleted.
Parameters
int
|
$event_id |
The (post) ID of the event of which we're deleting occurrences.
|
array|false
|
$occurrence_ids |
An array of occurrences to be delete. If false , all occurrences are to be removed.
|
Example Usage
add_action( 'eventorganiser_delete_event_occurrences', 'my_callback_function', 10, 2 );
function my_callback_function( $event_id, $occurrence_ids ){
//Do something
};