1 min read
MyBookaro exposes a wide hook surface. Use these to customize behavior without forking the plugin.
Booking lifecycle (actions) #
bookaro_booking_created— fired after a booking row is inserted.bookaro_booking_updated— fired after any booking modification.bookaro_booking_cancelled— fired on cancellation.bookaro_booking_status_changed— fired on every status transition. Args: booking, old_status, new_status.bookaro_booking_notification_event— central notification dispatcher.bookaro_booking_admin_updated— admin-side booking edit hook.bookaro_booking_deleted— booking row hard-deleted.
Booking validation (filters) #
bookaro_validate_booking_payload— pre-validation; return WP_Error to block.bookaro_booking_payload_sanitized— post-sanitization; modify payload.bookaro_booking_created_response— modify REST response on create.
Email / notifications #
bookaro_email_template_enabled— enable/disable per template.bookaro_booking_email_details— customize body details.bookaro_booking_email_context— modify template context.bookaro_booking_location— override booking location text.bookaro_email_template_preview_samples— sample data for template preview.
Frontend / UI #
bookaro_feature_enabled— feature flags (Pro gating).bookaro_frontend_features— feature payload to JS.bookaro_booking_frontend_data— booking form data.bookaro_booking_data— integration-mode booking data.bookaro_payments_frontend_data— payments JS data.bookaro_services_cards_service_payload— per-service payload.bookaro_services_cards_card_class/bookaro_services_cards_wrapper_class— CSS classes.
Admin / settings #
bookaro_admin_settings_theme— admin color scheme.bookaro_settings_register_tabs/bookaro_settings_tabs— register / list tabs.bookaro_settings_sanitize— sanitize on save.bookaro_blocked_listing_post_types— exclude post types from booking.bookaro_admin_booking_custom_fields— add custom fields to booking edit.bookaro_show_provider_ui/bookaro_show_service_ui— show/hide CPT admin UI.
MyListing integration #
bookaro_get_mylisting_services_repeater_class()— function exposing the repeater class for filters.bookaro_resolve_mylisting_services_payload— service resolution logic hook.bookaro_mylisting_services_repeater_class— alternative repeater class filter.
Privacy #
bookaro_privacy_user_meta_keysbookaro_privacy_user_meta_like_keysbookaro_privacy_export_masked_meta_keysbookaro_privacy_export_sensitive_meta_keysbookaro_privacy_on_user_deletebookaro_privacy_cleanupbookaro_privacy_policy_content
URLs #
bookaro_support_url/bookaro_docs_url— override links shown in admin.bookaro_setup_browse_url/bookaro_setup_create_listing_url— wizard helper URLs.
Logging / utility #
bookaro_log_file_path/bookaro_log_file_max_bytes— log file location and size.bookaro_trusted_proxies— IP trust list for rate limiting.bookaro_exceptions_range_max_days— cap for exception range queries.
Pro-specific #
bookaro_calendar_service/bookaro_messaging_service/bookaro_payments_service— service injection points.bookaro_reports_service/bookaro_exports_service/bookaro_webhooks_servicebookaro_pro_license_public_key/bookaro_pro_license_item_token— license overrides.bookaro_twilio_endpoint/bookaro_twilio_payload/bookaro_twilio_request_args/bookaro_twilio_status_callbackbookaro_webhook_*— event/payload customization filters.