Action: wu_transition_discount_code_apply_to_renewals
Fires when the apply to renewals of a discount code transitions from one value to another.
This hook is fired by BerlinDB when a database UPDATE changes the apply_to_renewals column for a discount code row.
Parameters
| Name | Type | Description |
|---|---|---|
| $old_value | int | The previous apply to renewals value. |
| $new_value | int | The new apply to renewals value. |
| $item_id | int | The discount code ID. |
Since
- 2.0.0
Source
Defined in inc/documentation/berlindb-dynamic-hooks.php at line 323