Skip to content

Actions

wpappointments_after_notification

Fires after a notification has been dispatched. Allows third-party plugins to react after emails are sent, e.g. for logging, webhooks, or integration with external notification services like BracketSpace Notification. @param string $event Event key. @param array $appointment Normalized appointment data. @param array $recipients List of recipients that were notified. @param array $config Notification config for this event. @param array|null $old_appointment Previous appointment data. /

Source: plugins/wpappointments/src/Notifications/Notifications.php:220


wpappointments_appointment_cancelled

Source: plugins/wpappointments/src/Data/Model/Appointment.php:192


wpappointments_appointment_confirmed

Source: plugins/wpappointments/src/Data/Model/Appointment.php:218


wpappointments_appointment_created

Source: plugins/wpappointments/src/Data/Model/Appointment.php:104


wpappointments_appointment_deleted

Source: plugins/wpappointments/src/Data/Model/Appointment.php:253


wpappointments_before_notification

Fires before a notification is dispatched. Allows third-party plugins (e.g. BracketSpace Notification) to hook into the notification lifecycle. @param string $event Event key (created|updated|confirmed|cancelled). @param array $appointment Normalized appointment data. @param array $config Notification config for this event. @param array|null $old_appointment Previous appointment data. /

Source: plugins/wpappointments/src/Notifications/Notifications.php:172


wpappointments_bookable_created

Source: plugins/wpappointments/src/Data/Model/BookableEntity.php:151


wpappointments_bookable_deleted

Source: plugins/wpappointments/src/Data/Model/BookableEntity.php:268


wpappointments_bookable_type_registered

Source: plugins/wpappointments/src/Bookable/BookableTypeRegistry.php:65


wpappointments_bookable_updated

Source: plugins/wpappointments/src/Data/Model/BookableEntity.php:232


wpappointments_enqueue_addon_scripts

Fires when a bookable type admin page is loaded. Addon plugins should enqueue their scripts here. The ‘wpappointments-shared-js’ script is already enqueued. @param string $type The bookable type slug. @param string $slug The page slug. /

Source: plugins/wpappointments/src/Admin/BookableTypeAdminPage.php:155


wpappointments_ooo_created

Source: plugins/wpappointments/src/Data/Model/OutOfOffice.php:125


wpappointments_ooo_deleted

Source: plugins/wpappointments/src/Data/Model/OutOfOffice.php:210


wpappointments_ooo_updated

Source: plugins/wpappointments/src/Data/Model/OutOfOffice.php:178


wpappointments_register_admin_pages

Fires when bookable type plugins should register their admin pages. Plugins should call BookableTypeAdminPage::register() inside this action callback. /

Source: plugins/wpappointments/src/Admin/BookableTypeAdminPage.php:80


wpappointments_schedule_created

Source: plugins/wpappointments/src/Data/Model/Schedule.php:139


wpappointments_schedule_deleted

Source: plugins/wpappointments/src/Data/Model/Schedule.php:272


wpappointments_schedule_updated

Source: plugins/wpappointments/src/Data/Model/Schedule.php:207


wpappointments_variant_created

Source: plugins/wpappointments/src/Data/Model/BookableVariant.php:176


wpappointments_variant_deleted

Source: plugins/wpappointments/src/Data/Model/BookableVariant.php:269


wpappointments_variant_updated

Source: plugins/wpappointments/src/Data/Model/BookableVariant.php:236