Amelia Allow Booking If Not Min - Static Override
Custom mu-plugins for wordpress installations
by Nathaniel Smith · github.com/purpleelephant1au/wordpress-mu-plugins
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/purpleelephant1au/wordpress-mu-plugins/archive/refs/heads/main.zipCustom Amelia MU Plugins
This repository contains custom WordPress MU plugins used for Amelia Booking behavior and notifications.
Included Plugins
-
amelia-allow-booking-static-override.php- Applies per-service
allowBookingIfNotMinbehavior using MU-plugin hooks. - Includes map-based overrides and min-capacity synchronization logic.
- Applies per-service
-
amelia-employee-bcc.php- Adds BCC behavior for Amelia employee/provider notification flows.
-
amelia-employee-upcoming-summary.php- Sends employee upcoming appointments summary emails.
- Uses a projection table + hook sync + scheduled reconciliation for upgrade resilience.
Deployment
- Copy these files into:
wp-content/mu-plugins/
- Ensure file permissions allow PHP read access.
- MU plugins are auto-loaded by WordPress (no activation step in Plugins UI).
Manual Summary Trigger
WP-CLI
wp cron event run amelia_employee_upcoming_summary_send
Fallback direct hook trigger:
wp eval "do_action('amelia_employee_upcoming_summary_send');"
Notes
- Keep this repository as the source of truth for custom MU plugins.
- Avoid editing Amelia core plugin files directly.
- After Amelia upgrades, validate:
- booking flow
- allow-booking override behavior
- summary email trigger