Ticket #51379: 51379.5.diff
File 51379.5.diff, 884 bytes (added by , 3 years ago) |
---|
-
src/wp-includes/user.php
1617 1617 * Conditional Tags} article in the Theme Developer Handbook. 1618 1618 * 1619 1619 * @since 2.1.0 1620 * @since 5.6.0 Introduced `email_exists` filter. 1620 1621 * 1621 * @param string $email Email.1622 * @param string $email The email to check for existence. 1622 1623 * @return int|false The user ID on success, false on failure. 1623 1624 */ 1624 1625 function email_exists( $email ) { … … 1636 1637 * 1637 1638 * @param int|false $user_id The user ID associated with the email, 1638 1639 * or false if the email does not exist. 1639 * @param string $email Email.1640 * @param string $email The email to check for existence. 1640 1641 */ 1641 1642 return apply_filters( 'email_exists', $user_id, $email ); 1642 1643 }