eo_delete_booking
since 1.6
Pro
eo_delete_booking( $booking_id )
**Permanantly** deletes a booking it. This cannot be undone.
Deletes corresponding tickets from the booking_tickets table and
triggers eventorganiser_booking_deleted
action. To only cancel
and not delete a booking see eo_cancel_booking()
.
Parameters
int
|
$booking_id |
the booking ID
|
Return value
bool
|
True on success, false on failure
|
Hooks
Changelog