Filters whether the given username exists.
Parameters
$user_id
int|false- The user ID associated with the username, or false if the username does not exist.
$username
string- The username to check for existence.
Source
return apply_filters( 'username_exists', $user_id, $username );
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.