Skip to content

Addon Development

WP Appointments is designed to be extended through WordPress plugins that hook into its registries and APIs.

What Can an Addon Do?

Extension PointExample
Custom Bookable TypeRegister “Court”, “Room”, or “Equipment” as a new bookable entity type
Availability LayerAdd holiday blocks, maintenance windows, or custom rules
Admin UIAdd custom pages, form fields, or admin panels using shared components
REST APIRegister additional endpoints for your custom types

Addon Structure

A WP Appointments addon is a standard WordPress plugin that depends on the core plugin:

my-addon/
├── my-addon.php # Plugin header + bootstrap
├── src/
│ └── MyBookableType.php # PHP handler extending AbstractBookableTypeHandler
├── assets/
│ └── admin.tsx # React admin UI (optional)
├── package.json # For JS build (optional)
└── webpack.config.js # Webpack config (optional)

Guides