validate_username
validate_username ( $username )
Parameters:- (string) username Username.
Returns:- (bool) Whether username given is valid.
Defined at:Change Log: - Introduced in WordPress: 2.0.1
- Deprecated in WordPress: —
Description
Checks whether a username is valid.