get_user_id_from_string


get_user_id_from_string ( $email_or_login )

Parameters:
  • (string) email_or_login Either an email address or a login.
See:
Returns:
  • (int)
Defined at:
Change Log:
  • M: U

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.

Related Functions

get_user_setting, get_post_format_string, get_post_format_strings, get_user_option, set_user_setting

Top Google Results

User discussions

wpseek mobile