A WordPress-centric search engine for devs and theme authors



username_exists ›

Since4.9.0
Deprecatedn/a
apply_filters( 'username_exists', $user_id, $username )
Parameters: (2)
  • (int|false) $user_id The user's ID on success, and false on failure.
    Required: Yes
  • (string) $username Username to check.
    Required: Yes
Defined at:
Codex:

Filters whether the given username exists or not.





Source

return apply_filters( 'username_exists', $user_id, $username );