Action: wu_site_template_downgrade
Fires after a membership product change when site template limits may have changed.
Template restrictions only apply at site-creation time, so no existing sites are modified. Use this action to add custom enforcement if needed.
Parameters
| Name | Type | Description |
|---|---|---|
| $membership_id | int | The membership ID. |
| $membership | \WP_Ultimo\Models\Membership | The membership object. |
Since
- 2.2.0
Source
Defined in inc/limits/class-site-template-limits.php at line 93