Uses
Uses | Description |
---|---|
wp-includes/pluggable.php: get_user_by() | Retrieve user info by a given field |
wp-includes/functions.php: _deprecated_function() | Mark a function as deprecated and inform when it has been used. |
This function has been deprecated. Use get_user_by() instead.
Retrieve user info by email.
(string) (Required) User's email address
(bool|object) False on failure, User DB row object
File: wp-includes/pluggable-deprecated.php
function get_user_by_email($email) { _deprecated_function( __FUNCTION__, '3.3.0', "get_user_by('email')" ); return get_user_by('email', $email); }
Version | Description |
---|---|
3.3.0 | Use get_user_by() |
2.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_user_by_email