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