username_exists


username_exists ( $username )

Parameters:
  • (string) username The username to check for existence.
Returns:
  • (int|false) The user ID on success, false on failure.
Defined at:

Description

Determines whether the given username exists.For more information on this and similar theme functions, check out the {@link Conditional Tags} article in the Theme Developer Handbook.

Related Functions

term_exists, email_exists, shortcode_exists, tag_exists, comment_exists

Top Google Results

User discussions

wpseek mobile