gform_user_registration_check_email_pre_signup_activation

Description

This filter can be used to disable the check for an email already being used by a registered user allowing the use of custom code or third-party plugins to bypass this WordPress core limitation in the registration process.

Usage

add_filter( 'gform_user_registration_check_email_pre_signup_activation', '__return_false' );

If you plan to use this filter to allow users to use already registered emails for new registrations, you need to use also the gform_user_registration_validation filter.

Parameters

  • $check_email bool

    True or false.

Placement

This code should be placed in the functions.php file of your active theme.

Since

This filter was added in Gravity Forms User Registration Add-On 2.4.2.

Source Code

$check_email = apply_filters( 'gform_user_registration_check_email_pre_signup_activation', true );

This filter is located in GFUserSignups::activate_signup() in signups.php.