Booking Package 1.7.48 has 14 actions and 50 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Booking Package fires an action
add_action( 'booking_package_activation_user', function( $id ) {
// Your code runs here.
}, 10, 1 );
// Change a value Booking Package is about to use
add_filter( 'booking_package_get_translate_text', function( $string_array, $arg2, $coupon, $intval, $locale ) {
// Change $string_array here.
return $string_array;
}, 10, 5 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * finally { */ do_action( 'booking_package_activation_user', $id ); -
booking_package_update_email
action/** * finally { */ do_action( 'booking_package_update_email', $userId ); -
/** * finally { */ do_action( 'booking_package_update_profile', $userId ); -
apply_filters( 'booking_package_get_translate_text', $string_array, 'coupon', $coupon['id'], intval($accountKey), get_locale() ); -
apply_filters( 'booking_package_update_status', $status, $bookingDetailsOnVisitor['details'] ); -
do_action( 'booking_package_add_calendar_account', $accountKey ); -
do_action( 'booking_package_add_clone_calendar_account', $accountKey ); -
booking_package_add_user
actiondo_action( 'booking_package_add_user', $userId ); -
apply_filters( 'booking_package_apply_free_plan_limits', $calendarAccount ); -
do_action( 'booking_package_booking_completed', $lastID ); -
do_action( 'booking_package_changed_status', array('id' => intval($bookedKey), 'status' => $status) ); -
booking_package_created_user
actiondo_action( 'booking_package_created_user', $response ); -
apply_filters( 'booking_package_creditcard_add_booking_id_on_paypal', $id, $bookingId, $token, $payment_live ); -
apply_filters( 'booking_package_creditcard_cancel', $payId, $public_key, $secret, $payment_live, $chargeId ); -
apply_filters( 'booking_package_creditcard_cancel_paypal', $payId, $secret, $chargeId ); -
apply_filters( 'booking_package_creditcard_cancel_stripe', $payId, $secret, $chargeId ); -
apply_filters( 'booking_package_creditcard_capture_paypal', $id, $token, $payment_live ); -
apply_filters( 'booking_package_creditcard_capture_stripe', $payId, $secret, $token ); -
apply_filters( 'booking_package_creditcard_commit_paypal', $payId, $secret, $token, $amont, $currency, $key, $name ); -
apply_filters( 'booking_package_creditcard_commit_stripe', $payId, $stripe_konbini, $stripe_paypay, $secret, $token, $amont, $currency, $key, $name, $email, $bookingDate ); -
apply_filters( 'booking_package_creditcard_get_access_token_paypal', $public_key, $secret, $payment_live ); -
apply_filters( 'booking_package_creditcard_get_payment_details_paypal', $id, $token, $payment_live, $bookingId, $name, $email, $bookingDate, $expectedAmount, $expectedCurrency ); -
apply_filters( 'booking_package_creditcard_http_code_error', $httpCode, $payId ); -
apply_filters( 'booking_package_creditcard_intent_stripe', $secret, $amont, $currency ); -
apply_filters( 'booking_package_creditcard_intent_stripe_express_checkout', $secret, $amont, $currency ); -
apply_filters( 'booking_package_creditcard_intent_stripe_konbini', $secret, $amont, $currency, $expiresDate ); -
apply_filters( 'booking_package_creditcard_intent_stripe_paypay', $secret, $amont, $currency ); -
apply_filters( 'booking_package_creditcard_pay', $payId, $stripe_konbini, $stripe_paypay, $public_key, $secret, $token, $payment_live, $amont, $currency, $key, $name, $email, $bookingDate ); -
apply_filters( 'booking_package_creditcard_refound_paypal', $id, $token, $payment_live ); -
apply_filters( 'booking_package_creditcard_update', $payId, $public_key, $secret, $chargeId, $bookingId, $payment_live, $name, $email, $bookingDate ); -
apply_filters( 'booking_package_creditcard_update_intent_stripe', $secret, $amont, $id ); -
apply_filters( 'booking_package_creditcard_update_payment_paypal', $id, $bookingId, $token, $payment_live ); -
booking_package_delete_user
actiondo_action( 'booking_package_delete_user', $user_id ); -
do_action( 'booking_package_deleted_calendar_account', intval($_POST['accountKey']) ); -
do_action( 'booking_package_deleted_customer', array('id' => intval($deleteKey)) ); -
apply_filters( 'booking_package_download_booked_customer', $customer ); -
apply_filters( 'booking_package_front_end_page', $html ); -
apply_filters( 'booking_package_frontend_available_days_from_today', intval($account['maxAccountScheduleDay']), intval($accountCalendarKey) ); -
apply_filters( 'booking_package_get_booked_customer', $response ); -
do_action( 'booking_package_login_user_on_front_end_page_as_action', $user ); -
apply_filters( 'booking_package_login_user_on_front_end_page_as_filter', $user ); -
apply_filters( 'booking_package_override_cancellation_limit_time', $current_cancellation_limit_time, intval($calendarAccount['key']) ); -
apply_filters( 'booking_package_override_reminder_notification_time', $current_reminder_notification_time, intval($calendarAccount['key']) ); -
apply_filters( 'booking_package_schedule_booking_notification', array('status' => false) ); -
apply_filters( 'booking_package_schedule_check_verification_code', $administrator ); -
apply_filters( 'booking_package_schedule_get_verify_amount_stripe_payments', $amount ); -
apply_filters( 'booking_package_schedule_intent_stripe', array('status' => false) ); -
apply_filters( 'booking_package_schedule_intent_stripe_express_checkout', array('status' => false) ); -
apply_filters( 'booking_package_schedule_intent_stripe_konbini', array('status' => false) ); -
apply_filters( 'booking_package_schedule_intent_stripe_paypay', array('status' => false) ); -
apply_filters( 'booking_package_schedule_send_verification_code', $administrator ); -
booking_package_send_booking
filterapply_filters( 'booking_package_send_booking', $response_user, $schedule ); -
apply_filters( 'booking_package_setting_cancel_paid_subscription_at_period_end', $customer_id, $subscription_id ); -
apply_filters( 'booking_package_setting_check_latest_invoice', null ); -
apply_filters( 'booking_package_setting_check_site_status', $countExpiration ); -
apply_filters( 'booking_package_setting_set_paid_subscription', $mode ); -
booking_package_updated_user
actiondo_action( 'booking_package_updated_user', array('user_id' => $userId, 'user_login' => $_POST['user_login']) ); -
apply_filters( 'booking_package_validate_accommodation_nights', array('status' => 'success', 'message' => null), $nights, $calendarAccount ); -
booking_package_verify_guest
filterapply_filters( 'booking_package_verify_guest', $guest, $updateWeeklyPrice ); -
apply_filters( 'booking_package_verify_member_setting', $value, $key, $input ); -
apply_filters( 'booking_package_verify_option_hotel', $option ); -
apply_filters( 'booking_package_verify_service', $service, $isArray ); -
booking_package_verify_tax
filterapply_filters( 'booking_package_verify_tax', $row ); -
plugin_locale
filterapply_filters( 'plugin_locale', determine_locale(), $domain );
Generated from Booking Package's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: