get_user_id_from_string
- get_user_id_from_string is deprecated since version 3.6.0!
Alternative: get_user_by()
get_user_id_from_string ( $email_or_login )
Parameters:- (string) email_or_login Either an email address or a login.
See:Returns:Defined at:Change Log: - Introduced in WordPress: —
- Deprecated in WordPress: 3.6.0
Description
Get a numeric user ID from either an email address or a login.A numeric string is considered to be an existing user ID
and is simply returned as such.