Filter: wu_allow_duplicate_signup
Filters whether to allow a duplicate signup when the customer already has an active membership.
Return true to allow the checkout to proceed. The default is false (block the signup).
Parameters
| Name | Type | Description |
|---|---|---|
| $allow | bool | Whether to allow the duplicate signup. |
| $membership | \WP_Ultimo\Models\Membership | The existing active membership. |
| $customer | \WP_Ultimo\Models\Customer | The current customer. |
| $cart | \WP_Ultimo\Checkout\Cart | The cart being processed. |
Since
- 2.5.1
Source
Defined in inc/checkout/class-checkout.php at line 780