Skip to content

Coupons Actions

Action hooks fired during coupon lifecycle events (Pro).

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

Hook Inventory

HookEditionCall SitesFirst Source
fluent_booking/after_delete_couponPRO1fluent-booking-pro/app/Modules/Coupon/Http/Controllers/CouponController.php:140
fluent_booking/before_delete_couponPRO1fluent-booking-pro/app/Modules/Coupon/Http/Controllers/CouponController.php:136
fluent_booking/coupon_createdPRO1fluent-booking-pro/app/Modules/Coupon/Http/Controllers/CouponController.php:79
fluent_booking/coupon_status_changedPRO1fluent-booking-pro/app/Modules/Coupon/CouponModel.php:120
fluent_booking/coupon_updatedPRO1fluent-booking-pro/app/Modules/Coupon/Http/Controllers/CouponController.php:123

fluent_booking/after_delete_coupon

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

Source locations

  • fluent-booking-pro/app/Modules/Coupon/Http/Controllers/CouponController.php:140

Example

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

fluent_booking/before_delete_coupon

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

Source locations

  • fluent-booking-pro/app/Modules/Coupon/Http/Controllers/CouponController.php:136

Example

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

fluent_booking/coupon_created

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

Source locations

  • fluent-booking-pro/app/Modules/Coupon/Http/Controllers/CouponController.php:79

Example

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

fluent_booking/coupon_status_changed

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

Source locations

  • fluent-booking-pro/app/Modules/Coupon/CouponModel.php:120

Example

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

fluent_booking/coupon_updated

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

Source locations

  • fluent-booking-pro/app/Modules/Coupon/Http/Controllers/CouponController.php:123

Example

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