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, get_header_video_settings

Top Google Results

User discussions

wpseek mobile