Skip to content

Availability Actions ​

Action hooks for availability-schedule creation, updates, cloning, and deletion.

8 unique action hooks currently map to this category, across 11 call sites.

Hook Inventory ​

HookEditionCall SitesFirst Source
fluent_booking/after_creating_scheduleCore1fluent-booking/app/Http/Controllers/BookingController.php:254
fluent_booking/after_delete_availability_scheduleCore2fluent-booking/app/Hooks/Handlers/CleanupHandlers/CalenderCleaner.php:108
fluent_booking/avaibility_schedule_updatedCore1fluent-booking/app/Http/Controllers/AvailabilityController.php:192
fluent_booking/availability_schedule_clonedCore1fluent-booking/app/Http/Controllers/AvailabilityController.php:164
fluent_booking/availability_schedule_createdCore1fluent-booking/app/Http/Controllers/AvailabilityController.php:138
fluent_booking/availability_schedulesCore1fluent-booking/app/Http/Controllers/AvailabilityController.php:42
fluent_booking/before_creating_scheduleCore2fluent-booking/app/Hooks/Handlers/FrontEndHandler.php:801
fluent_booking/before_delete_availability_scheduleCore2fluent-booking/app/Hooks/Handlers/CleanupHandlers/CalenderCleaner.php:106

fluent_booking/after_creating_schedule ​

  • Type: action
  • Edition: Core
  • Call sites: 1

Source locations

  • fluent-booking/app/Http/Controllers/BookingController.php:254

Example

php
add_action('fluent_booking/after_creating_schedule', function (...$args) {
    // Your custom logic here.
}, 10, count($args ?? []));

fluent_booking/after_delete_availability_schedule ​

  • Type: action
  • Edition: Core
  • Call sites: 2

Source locations

  • fluent-booking/app/Hooks/Handlers/CleanupHandlers/CalenderCleaner.php:108
  • fluent-booking/app/Http/Controllers/AvailabilityController.php:279

Example

php
add_action('fluent_booking/after_delete_availability_schedule', function (...$args) {
    // Your custom logic here.
}, 10, count($args ?? []));

fluent_booking/avaibility_schedule_updated ​

  • Type: action
  • Edition: Core
  • Call sites: 1

Source locations

  • fluent-booking/app/Http/Controllers/AvailabilityController.php:192

Example

php
add_action('fluent_booking/avaibility_schedule_updated', function (...$args) {
    // Your custom logic here.
}, 10, count($args ?? []));

fluent_booking/availability_schedule_cloned ​

  • Type: action
  • Edition: Core
  • Call sites: 1

Source locations

  • fluent-booking/app/Http/Controllers/AvailabilityController.php:164

Example

php
add_action('fluent_booking/availability_schedule_cloned', function (...$args) {
    // Your custom logic here.
}, 10, count($args ?? []));

fluent_booking/availability_schedule_created ​

  • Type: action
  • Edition: Core
  • Call sites: 1

Source locations

  • fluent-booking/app/Http/Controllers/AvailabilityController.php:138

Example

php
add_action('fluent_booking/availability_schedule_created', function (...$args) {
    // Your custom logic here.
}, 10, count($args ?? []));

fluent_booking/availability_schedules ​

  • Type: action
  • Edition: Core
  • Call sites: 1

Source locations

  • fluent-booking/app/Http/Controllers/AvailabilityController.php:42

Example

php
add_action('fluent_booking/availability_schedules', function (...$args) {
    // Your custom logic here.
}, 10, count($args ?? []));

fluent_booking/before_creating_schedule ​

  • Type: action
  • Edition: Core
  • Call sites: 2

Source locations

  • fluent-booking/app/Hooks/Handlers/FrontEndHandler.php:801
  • fluent-booking/app/Http/Controllers/BookingController.php:249

Example

php
add_action('fluent_booking/before_creating_schedule', function (...$args) {
    // Your custom logic here.
}, 10, count($args ?? []));

fluent_booking/before_delete_availability_schedule ​

  • Type: action
  • Edition: Core
  • Call sites: 2

Source locations

  • fluent-booking/app/Hooks/Handlers/CleanupHandlers/CalenderCleaner.php:106
  • fluent-booking/app/Http/Controllers/AvailabilityController.php:275

Example

php
add_action('fluent_booking/before_delete_availability_schedule', function (...$args) {
    // Your custom logic here.
}, 10, count($args ?? []));