woocommerce_registration_error_email_exists, __( An account is already registered with your email address. Please log in., woocommerce

woocommerce_registration_error_email_exists, __( An account is already registered with your email address. Please log in., woocommerce

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_registration_error_email_exists, __( An account is already registered with your email address. Please log in., woocommerce') is found 1 times:

  • /includes/class-wc-checkout.php line 1257
    					 * @since 3.3.0
    					 * @param string $message The notice.
    					 * @param string $email   The email address.
    					 */
    					throw new Exception( apply_filters( 'woocommerce_registration_error_email_exists', __( 'An account is already registered with your email address. <a href="#" class="showlogin">Please log in.</a>', 'woocommerce' ), $data['billing_email'] ) ); // phpcs:ignore WordPress.Security.EscapeOutput.ExceptionNotEscaped
    				}
    				throw new Exception( $customer_id->get_error_message() ); // phpcs:ignore WordPress.Security.EscapeOutput.ExceptionNotEscaped
    			}
    
    			wc_set_customer_auth_cookie( $customer_id );