eo_delete_event_occurrences
since 1.5
eo_delete_event_occurrences( $event_id, $occurrence_ids = false )
Deletes all occurrences for an event (removes them from the eo_events table).
Triggers eventorganiser_delete_event (this action is used to break the caches).
This function does not update any of the event schedule details.
Don't call this unless you know what you're doing.
Parameters
|
$event_id |
|
int|array
|
$occurrence_ids = false |
Occurrence ID (or array of IDs) for specificaly occurrences to delete. If empty/false, deletes all.
|
Hooks
Changelog