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