Reference
Hooks & filters
Last Updated: May 12, 2026MyBookaro 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....
Shortcodes
Last Updated: May 12, 2026Five shortcodes ship with MyBookaro Lite. All are also available as Gutenberg blocks (see next article). [bookaro_booking_button] Renders a single button that opens a booking form modal. Attributes: listing_id, provider_id, service_id, service_label, price, service_duration, button_label, class. Example: [bookaro_booking_button provider_id="42" service_id="9" button_label="Book a session"] [bookaro_booking_form] Renders the full booking form inline. Attributes: all of the above...
Gutenberg blocks
Last Updated: May 12, 2026Every shortcode has a matching Gutenberg block under the MyBookaro block category. Block list Block Shortcode equivalent bookaro/booking-button [bookaro_booking_button] bookaro/booking-form [bookaro_booking_form] bookaro/provider-dashboard [bookaro_provider_dashboard] bookaro/customer-dashboard [bookaro_customer_dashboard] bookaro/services-cards [bookaro_services_cards] Inserting a block In the editor, click + to add a block. Search “MyBookaro” or browse the MyBookaro category. Pick the block. Configure attributes in the right sidebar....
REST API endpoints
Last Updated: May 12, 2026MyBookaro exposes a full REST API under the bookaro/v1 namespace. Use it for integrations, native mobile clients, or external dashboards. Authentication WordPress’s standard nonce auth for logged-in users; application passwords or JWT for external clients (configure via standard WP REST mechanisms). Booking endpoints Method Route Purpose POST /bookings Create booking GET /bookings List bookings (admin)...
AJAX actions
Last Updated: May 12, 2026MyBookaro registers a number of wp_ajax_* actions for legacy compatibility and admin-only operations. Most things should use the REST API instead — these are documented for completeness. Public booking flow wp_ajax_bookaro_submit + wp_ajax_nopriv_bookaro_submit — submit a booking. wp_ajax_bookaro_check_availability + nopriv variant — query slot availability. Provider-side bookaro_update_status bookaro_bulk_update_status bookaro_get_provider_bookings bookaro_cancel_booking bookaro_add_note bookaro_reschedule_booking bookaro_get_settings / bookaro_save_settings...
Database tables
Last Updated: May 12, 2026MyBookaro creates several custom tables. All use the WordPress table prefix (e.g. wp_bookaro_*). Lite tables Table Purpose {prefix}bookaro_bookings Core booking records: id, listing_id, service_id, customer_id, provider_id, status, dates, notes. {prefix}bookaro_provider_availability Weekly availability flags: provider_id, weekday (0–6), is_open. {prefix}bookaro_provider_timeslots Time slot templates: provider_id, weekday, start_time, end_time, interval_m. {prefix}bookaro_provider_exceptions Date-based exceptions: provider_id, date, is_open, optional custom hours....
Email templates
Last Updated: May 12, 2026Reference list of every email template MyBookaro ships with, where it lives in the source, and what placeholders it accepts. Lite templates Template key Trigger File new_booking Booking submitted templates/emails/new_booking.php approved Provider approved templates/emails/approved.php rejected Provider rejected templates/emails/rejected.php cancelled Cancelled templates/emails/cancelled.php rescheduled Rescheduled templates/emails/rescheduled.php reminder_24h 24h before booking templates/emails/reminder_24h.php reminder_1h 1h before booking templates/emails/reminder_1h.php review_invite...
Capabilities & roles
Last Updated: May 12, 2026MyBookaro doesn’t add custom WP roles in Lite. It relies on standard WP capabilities plus a few bookaro_* capabilities mapped to manage_options by default. Default capability mapping Capability Mapped to (default) Used for bookaro_manage manage_options Site-wide admin operations bookaro_manage_bookings manage_options Owner booking management bookaro_view_reports manage_options Reports access bookaro_export_data manage_options CSV exports (Pro) bookaro_manage_license manage_options License...
Constants & defines
Last Updated: May 12, 2026Constants you can define in wp-config.php or a mu-plugin to override default behavior. Pro license constants Constant Purpose BOOKARO_PRO_LICENSE_API_URL License API base URL. Default: https://mybookaro.com/?bookaro_license_api=1. BOOKARO_PRO_LICENSE_PUBLIC_KEY RSA public key in PEM format for signature verification. BOOKARO_PRO_LICENSE_PUBLIC_KEY_B64 Same key, Base64-encoded (alternative when escaping PEM is tricky). BOOKARO_PRO_LICENSE_ITEM_TOKEN License item identifier (server-issued opaque token). BOOKARO_PRO_LICENSE_ITEM_ID Numeric license...
System requirements & compatibility
Last Updated: May 12, 2026Hard and soft requirements for running MyBookaro. Required WordPress 6.0 or later (tested up to 6.9) PHP 8.1 or later MySQL 5.7 or later, or MariaDB 10.3+ HTTPS recommended for production (required for Pro Calendar OAuth) Optional WooCommerce — required for Pro WooCommerce checkout. MyListing theme — for the MyListing Directory lane. Twilio account —...