Filters whether the given username exists.
$user_idint|false
$usernamestring
return apply_filters( 'username_exists', $user_id, $username );
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/username_exists