Skip to content

Getting Started

FluentBooking is a WordPress appointment scheduling plugin built on the WPFluent framework. This documentation site is generated directly from the checked-out FluentBooking core and Pro plugin source, so the route inventory, hook names, and model references stay aligned with the installed code.

What This Site Covers

  • Database layer: ORM models mapped to the fcal_* tables (calendars, events, bookings, availability, metadata, plus Pro tables for orders, transactions, and webhooks).
  • Hooks: Action and filter hooks emitted across the booking lifecycle, calendars, availability, payments, and third-party integrations.
  • REST API: Every route registered under the fluent-booking/v2 namespace, grouped by module with per-operation reference pages.
  • Guides: Practical recipes for common customizations — code snippets, theme compatibility, custom booking fields, and webhooks.

Source of Truth

ConcernSource
Core routesfluent-booking/app/Http/Routes/api.php
Pro routesfluent-booking-pro/app/Http/Routes/api.php, fluent-booking-pro/app/Http/Routes/routes.php
Controllersfluent-booking/app/Http/Controllers/, plus the matching Pro controllers
Modelsfluent-booking/app/Models/, fluent-booking-pro/app/Models/
Migrationsfluent-booking/database/Migrations/
Hooksdo_action(...) / apply_filters(...) calls across the core and Pro source trees

Editions

FluentBooking Core (Free)

The core plugin provides the scheduling foundation:

  • Unlimited calendars and event types
  • Booking lifecycle (creation, confirmation, cancellation, reschedule)
  • Availability schedules (recurring + date overrides)
  • Email notifications
  • Core REST API (fluent-booking/v2)

FluentBooking Pro PRO

The Pro add-on extends Core with:

  • Payments (Stripe, PayPal, WooCommerce)
  • Coupons and discounts
  • Advanced integrations (Zoom, Google Meet, Outlook, Apple Calendar)
  • Outbound webhooks and SMS notifications
  • Multi-host / team / round-robin event types
  • Reports and exports

Pro endpoints, hooks, and models are flagged with PRO badges throughout this reference.

Architecture at a Glance

  • REST namespace: fluent-booking/v2
  • Custom tables: all prefixed fcal_ (e.g., fcal_bookings, fcal_calendars, fcal_calendar_events, fcal_booking_meta, fcal_meta)
  • Request flow: Route → Policy → Controller → Service → Model
  • Frontend conventions: The admin app uses X-HTTP-Method-Override for PUT/PATCH/DELETE; browser clients rely on cookie auth + nonce. Server-to-server calls use WordPress Application Passwords.

Development Commands

bash
npm install
npm run docs:dev        # local dev server
npm run docs:build      # production build
npm run generate:docs   # regenerate model/hook/route docs from PHP source
npm run generate:og     # regenerate OG images

Main Sections