Index: public_html/wp-includes/user.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- public_html/wp-includes/user.php	(date 1600852547985)
+++ public_html/wp-includes/user.php	(date 1600852547985)
@@ -1448,9 +1448,20 @@
 function email_exists( $email ) {
 	$user = get_user_by( 'email', $email );
 	if ( $user ) {
-		return $user->ID;
+		$user_id = $user->ID;
+	} else {
+		$user_id = false;
 	}
-	return false;
+
+	/**
+	 * Filters whether the given email exists or not.
+	 *
+	 * @since TBD
+	 *
+	 * @param int|false $user_id The user's ID on success, and false on failure.
+	 * @param string    $email   Email.
+	 */
+	return apply_filters( 'email_exists', $user_id, $email );
 }
 
 /**
