Rox Appointment Booking 1.3.5 has 13 actions and 74 filters, read directly from its source code on Nov 19, 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 Rox Appointment Booking fires an action
add_action( 'rox_appointment_booking_after_entity_saved', function( $arg1, $agent, $arg3 ) {
// Your code runs here.
}, 10, 3 );
// Change a value Rox Appointment Booking is about to use
add_filter( 'rox_appointment_booking_agent_payload', function( $data, $agent, $detailed ) {
// Change $data here.
return $data;
}, 10, 3 );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.
Changes by version
1.3.4 → 1.3.5 · Nov 19, 2026 · 0 added, 0 removed
No hooks were added or removed in this release.
All hooks
-
/** * Fires after an agent record is created or updated. */ do_action( 'rox_appointment_booking_after_entity_saved', 'agent', $agent, !$id ); -
/** * Fires after an appointment is created or updated via the admin * SaveAppointment endpoint (covers edits and status changes, including * cancellation). Not fired for the public booking panel — see * `rox_appointment_booking_after_booking_confirmed` for that. */ do_action( 'rox_appointment_booking_after_appointment_saved', $existing, false, $oldStatus ); -
/** * Fires after an appointment is rescheduled via calendar drag-and-drop. */ do_action( 'rox_appointment_booking_after_appointment_rescheduled', $appointment, $oldStartTime, $oldEndTime ); -
/** * Fires after a backfill scan completes, so an entity with no model of its own * can register its records too. */ do_action( 'rox_appointment_booking_after_string_backfill', $result ); -
/** * Filter the agent payload. */ apply_filters( 'rox_appointment_booking_agent_payload', $data, $agent, $detailed ); -
/** * Filter whether this agent works on their special days only. */ apply_filters( 'rox_appointment_booking_agent_special_days_only', false, $agent ); -
/** * Filter the admin React app config injected as * `window.rox_appointment_booking.config.app`. The Pro plugin uses this to * declare feature flags (e.g. `proFeatures.googleLogin`) so the admin UI only * surfaces sections a given Pro version can actually back. */ apply_filters( 'rox_appointment_booking_app_config_structure', $vars ); -
/** * Filters the detected current language. */ apply_filters( 'rox_appointment_booking_current_language', $this->driver->currentLanguage() ); -
/** * Filter the final wp_mail() arguments — last chance to alter or block a * message (return an empty `to` to block it). */ apply_filters( 'rox_appointment_booking_email_args', $args, $eventKey, $recipientType, $context ); -
/** * Final veto before an e-mail is rendered and sent. */ apply_filters( 'rox_appointment_booking_email_enabled', $enabled, $eventKey, $recipientType, $context ); -
/** * Filter the language one recipient's e-mail is rendered in. */ apply_filters( 'rox_appointment_booking_email_language', $language, $recipientType, $context ); -
/** * Filter the final e-mail body after the layout has been applied. */ apply_filters( 'rox_appointment_booking_email_layout', $body, $placeholders ); -
/** * Filter the placeholder map used to render an e-mail. */ apply_filters( 'rox_appointment_booking_email_placeholders', $map, $eventKey, $context, $recipientType ); -
/** * Filter the resolved recipients for an e-mail. */ apply_filters( 'rox_appointment_booking_email_recipients', $addresses, $recipientType, $context ); -
/** * Filter the e-mail template catalogue. */ apply_filters( 'rox_appointment_booking_email_templates', self::defaultEvents() ); -
/** * Filter the booking panel's service payload. */ apply_filters( 'rox_appointment_booking_frontend_service_payload', $data, $service, $detailed ); -
/** * Filter whether group sessions are available on this site. */ apply_filters( 'rox_appointment_booking_group_capacity_supported', false ); -
/** * Filter the order's up-front payment breakdown. */ apply_filters( 'rox_appointment_booking_order_deposit_breakdown', [ 'due_now' => 0.0, 'deposit_amount' => 0.0, 'requires_online_payment' => false, ], $appointmentIds ); -
/** * Filter whether this service can be booked with no agent. */ apply_filters( 'rox_appointment_booking_service_allows_without_agent', false, $service ); -
/** * Filter whether this service is booked as a group session. */ apply_filters( 'rox_appointment_booking_service_group_capacity', false, $service ); -
/** * Filter the head count a group session holds. */ apply_filters( 'rox_appointment_booking_service_group_max_capacity', 1, $service ); -
/** * Filter the concurrency an agent-less slot allows. */ apply_filters( 'rox_appointment_booking_service_without_agent_capacity', 1, $service ); -
/** * Filters a translated value just before it is returned. */ apply_filters( 'rox_appointment_booking_translated_value', $translated, $value, $entity, $id, $field ); -
/** * Filter whether agent-optional booking is available on this site. */ apply_filters( 'rox_appointment_booking_without_agent_supported', false ); -
do_action( 'rox_appointment_booking_email_event', 'password_changed', [ 'agent_id' => (int) $agent->getID(), 'new_password' => $send_password ? $password : '', ], [EmailTemplateRegistry::RECIPIENT_AGENT] ); -
do_action( 'rox_appointment_booking_after_entity_deleted', 'agent', $singleId ); -
apply_filters( 'rox_appointment_booking_ical_download_url', '', $appointmentData['id'] ?? 0 ); -
apply_filters( 'rox_appointment_booking_meet_link', '', $appointmentData['id'] ?? 0 ); -
do_action( 'wp_login', $wp_user->user_login, $wp_user ); -
apply_filters( 'rox_appointment_booking_agent_limit', self::FREE_AGENT_LIMIT ); -
apply_filters( 'rox_appointment_booking_google_login_config', [ 'enabled' => false, 'clientId' => '', 'buttonText' => esc_html__('Continue with Google', 'rox-appointment-booking'), ] ); -
apply_filters( 'rox_appointment_booking_ical_calendar_links', [], $appointmentData['id'] ?? 0 ); -
apply_filters( 'rox_appointment_booking_meet_link_label', '', $appointmentData['id'] ?? 0 ); -
apply_filters( 'rox_appointment_booking_order_custom_fields', [], $order->getID() ); -
do_action( 'wp_login_failed', $params['email'], new \WP_Error('invalid_email_or_password', esc_html__('Invalid email or password', 'rox-appointment-booking')) ); -
do_action( 'litespeed_control_set_nocache', 'rox appointment booking rest response' ); -
do_action( 'rox_appointment_booking_after_booking_confirmed', $params, $customerResult['id'], $orderId, $appointmentIds ); -
do_action( 'rox_appointment_booking_after_order_saved', $coupon_id, $appointmentIds ); -
apply_filters( 'rox_appointment_booking_apply_coupon', [ 'discount_amount' => 0.0, 'coupon_id' => null, 'coupon_code' => null, ], $params, $customerId, $subtotal, $appointmentIds ); -
apply_filters( 'rox_appointment_booking_appointment_buffer_minutes', 0, $appointment, $side ); -
apply_filters( 'rox_appointment_booking_appointment_statuses', [ ["icon" => "approved", "label" => __("Approved", "rox-appointment-booking"), "value" => "approved"], ["icon" => "rescheduled", "label" => __("Rescheduled", "rox-appointment-booking"), "value" => "rescheduled"], ["icon" => "pending", "label" => __("Pending", "rox-appointment-booking"), "value" => "pending"], ["icon" => "rejected", "label" => __("Rejected", "rox-appointment-booking"), "value" =... ); -
apply_filters( 'rox_appointment_booking_attendee_service_total', $unitPrice, $service, $totalAttendees, $context ); -
apply_filters( 'rox_appointment_booking_booking_block_columns', [], $record, $start_time, $end_time ); -
apply_filters( 'rox_appointment_booking_booking_confirmation_access', false, $orderId, $request ); -
apply_filters( 'rox_appointment_booking_branding', $defaults ); -
apply_filters( 'rox_appointment_booking_country_iso_by_phone_code', $countryMap[$phoneCode] ?? '' ); -
apply_filters( 'rox_appointment_booking_coupon_exists', false, (int) $data['coupon_id'] ); -
apply_filters( 'rox_appointment_booking_currency_symbol', $symbols[$normalizedCode] ?? (string) ($currencyCode ?? '') ); -
apply_filters( 'rox_appointment_booking_custom_fields', [] ); -
apply_filters( 'rox_appointment_booking_duration_options', $options ); -
apply_filters( 'rox_appointment_booking_get_user_info_data', $userData, $userInfo ); -
apply_filters( 'rox_appointment_booking_js_locale', [ 'locale' => $locale, 'language' => strtolower(strtok($locale, '_-') ?: 'en'), 'bcp47' => $bcp47, 'direction' => is_rtl() ? 'rtl' : 'ltr', 'startOfWeek' => rox_appointment_booking_week_start(), 'months' => $months, 'monthsShort' => $months_short, 'weekdays' => $weekdays, 'weekdaysShort' => $weekdays_abbr, 'weekdaysMin' => $weekdays_min, 'meridiem' => $meridiem, 'dateFormat' => get_option('date... ); -
apply_filters( 'rox_appointment_booking_mcp_abilities', [ new Appointment\ListAppointments(), new Appointment\GetAppointment(), new Appointment\GetAppointmentsForDate(), new Appointment\GetUpcomingAppointments(), new Appointment\GetAppointmentStatuses(), new Calendar\GetAvailableSlots(), new Calendar\CheckSlotAvailability(), new Calendar\GetWorkSchedule(), new Calendar\ListHolidays(), new Customer\ListCustomers(), new Customer\SearchCustomers(), new... ); -
apply_filters( 'rox_appointment_booking_mcp_tool_ids', array_keys($enabled) ); -
apply_filters( 'rox_appointment_booking_model_fillable', $this->fillable, static::class, $this ); -
apply_filters( 'rox_appointment_booking_order_statuses', [ ["icon" => "notpaidcirclefilled", "label" => __("Pending payment", "rox-appointment-booking"), "value" => "pending_payment"], ["icon" => "processingcirclefilled", "label" => __("Processing", "rox-appointment-booking"), "value" => "processing"], ["icon" => "pending", "label" => __("On hold", "rox-appointment-booking"), "value" => "on_hold"], ["icon" => "paidcirclefilled", "label" => __("Comple... ); -
apply_filters( 'rox_appointment_booking_overlap_is_buffer_only', false, $booking, $start_time, $end_time ); -
apply_filters( 'rox_appointment_booking_payment_dashboard_url', $stripeDashboardUrl, $order->payment_method, $transactionId, $order->getID() ); -
apply_filters( 'rox_appointment_booking_payment_form_structure', $structure ); -
apply_filters( 'rox_appointment_booking_payment_methods', [ ["icon" => "card", "label" => "Stripe", "value" => "stripe"], ["icon" => "paylater", "label" => rox_appointment_booking_pay_later_label(), "value" => "pay_later"], ["icon" => "cash", "label" => __("Cash", "rox-appointment-booking"), "value" => "cash"], ["icon" => "debit", "label" => __("Credit / Debit Card", "rox-appointment-booking"), "value" => "card"], ] ); -
apply_filters( 'rox_appointment_booking_payment_option_enabled', $hasEnabledOption, $params ); -
apply_filters( 'rox_appointment_booking_payment_settings_preserve_keys', [] ); -
apply_filters( 'rox_appointment_booking_payment_statuses', [ ["icon" => "failedcirclefilled", "label" => __("Failed", "rox-appointment-booking"), "value" => "failed"], ["icon" => "paidcirclefilled", "label" => __("Paid", "rox-appointment-booking"), "value" => "paid"], ["icon" => "canceledcirclefilled", "label" => __("Cancelled", "rox-appointment-booking"), "value" => "cancelled"], ["icon" => "processingcirclefilled", "label" => __("Processing", "rox-ap... ); -
apply_filters( 'rox_appointment_booking_process_payment', null, $paymentType, $params, $customerId, $orderId ); -
apply_filters( 'rox_appointment_booking_schedule_format_structure', [ [ "day_name" => "Monday", "day_off" => false, "schedule" => [ "2025-10-08T19:00:00.000Z", "2025-10-09T14:00:00.000Z" ], "breaks" => [ [ "2025-10-08T22:00:00.000Z", "2025-10-09T17:00:00.000Z" ] ], ], [ "day_name" => "Tuesday", "day_off" => false, "schedule" => [ "2025-10-08T19:00:00.000Z", "2025-10-09T14:00:00.000Z" ], "breaks" => [ [ "2025-10-08T22:00:00.000Z", "2025-10-09T17:00:00.000Z" ] ],... ); -
apply_filters( 'rox_appointment_booking_schedule_overlap', $raw, $date, $start_time, $end_time, $buffer ); -
apply_filters( 'rox_appointment_booking_service_buffer_settings', [], $service ); -
apply_filters( 'rox_appointment_booking_service_line_snapshot', $purchaseDetails, $service, $totalAttendees, $serviceTotal ); -
apply_filters( 'rox_appointment_booking_service_payload', $data, $service, $detailed ); -
apply_filters( 'rox_appointment_booking_service_save_params', $params, $id, $service ); -
apply_filters( 'rox_appointment_booking_slot_label_minutes', $appointment_minutes, $service, $buffer_after ); -
apply_filters( 'rox_appointment_booking_stripe_api_version', self::API_VERSION ); -
apply_filters( 'rox_appointment_booking_system_fields', rox_appointment_booking_default_system_fields() ); -
apply_filters( 'rox_appointment_booking_table_structure', [ "searchable" => true, "fields" => [ "actionItems" => [ [ "key" => "1", "type" => "default", "label" => esc_html__('Table Settings', 'rox-appointment-booking'), "icon" => "filter", "route" => "/table/settings" ], [ "key" => "2", "type" => "default", "label" => esc_html__('Export', 'rox-appointment-booking'), "icon" => "export", "route" => "/table/customers" ], [ "key" => "3", "type" => "primar... ); -
apply_filters( 'rox_appointment_booking_temp_location_data', [ "title" => $location_module_enable ? esc_html__('Location Selection', 'rox-appointment-booking') : esc_html__('Category Selection', 'rox-appointment-booking'), "subTitle" => esc_html__("Select the location where you'd like to book your appointment.", 'rox-appointment-booking'), "icon" => $plugin_url . "svgs/sidebar_image.svg", "location" => $location_module_enable ? true : false, "currencySym... ); -
apply_filters( 'rox_appointment_booking_translatable_fields', self::defaults() ); -
apply_filters( 'rox_appointment_booking_validate_custom_fields', null, $params ); -
apply_filters( 'rox_appointment_booking/frontend/current_user_data', $user_data, $wp_user ); -
apply_filters( 'rox_appointment_booking/frontend/should_load_assets', false ); -
apply_filters( 'wpml_active_languages', null, [] ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_default_language', null ); -
apply_filters( 'wpml_object_id', $postId, $postType, true ); -
do_action( 'wpml_register_single_string', $context, $name, $value ); -
do_action( 'wpml_switch_language', $lang ); -
apply_filters( 'wpml_translate_single_string', $value, $context, $name, $lang );
Generated from Rox Appointment Booking's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: