eo_cancel_booking
since 1.0
Pro
eo_cancel_booking( $booking_id )
Cancels a booking.
Note: This function changed behaviour in 1.6.0. Since 1.6.0 it no longer
permantly deletes a booking, but only 'trashes' it. See eo_delete_booking()
on how to permantly delete bookings. Unlike posts, cancelled bookings are not
deleted after a set period.
Triggers eventorganiser_booking_cancelled
action.
Parameters
int
|
$booking_id |
the booking ID
|
Return value
bool
|
True on success, false on failure
|
Hooks
Changelog
Related