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.
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.
- $check_email bool
True or false.
This code should be placed in the functions.php file of your active theme.
This filter was added in Gravity Forms User Registration Add-On 2.4.2.
$check_email = apply_filters( 'gform_user_registration_check_email_pre_signup_activation', true );
This filter is located in GFUserSignups::activate_signup() in signups.php.