apply_filters( 'username_exists', int|false $user_id , string $username )
Filters whether the given username exists.
Parameters
- $user_id
-
The user ID associated with the username, or false if the username does not exist.
- $username
-
The username to check for existence.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |