apply_filters( 'username_exists', int|false $user_id , string $username )
Filters whether the given username exists or not.
Description Description
Parameters Parameters
- $user_id
-
(int|false) The user's ID on success, and false on failure.
- $username
-
(string) Username to check.
Source Source
File: wp-includes/user.php
Changelog Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |