Skip to main content

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

NameTypeDescription
$allowboolWhether to allow the duplicate signup.
$membership\WP_Ultimo\Models\MembershipThe existing active membership.
$customer\WP_Ultimo\Models\CustomerThe current customer.
$cart\WP_Ultimo\Checkout\CartThe cart being processed.

Since

  • 2.5.1

Source

Defined in inc/checkout/class-checkout.php at line 780