gpb_pricing_rule_applied
Description
Action fired after each pricing rule is applied.
Usage
Applied globally
add_action( 'gpb_pricing_rule_applied', 'my_custom_function' );
Parameters
$rule
PricingRule
The rule that was applied.
$previous_price
float
The price before the rule was applied.
$price
float
The price after the rule was applied.
$booking_data
array
The booking data.
$context
array
Additional context (service, resource, etc.).
Since
1.0-alpha-2.4
Hook added.