gpb_before_booking_deleted
Description
Filter to short-circuit booking deletion.
Usage
Applied globally
add_filter( 'gpb_before_booking_deleted', 'my_custom_function' );
Parameters
$allowed
bool
Whether deletion is allowed.
$booking
Booking
The booking to be deleted.
$reason
string|null
Optional reason for deletion.
Since
1.0-alpha-1.0
Hook added.