apply_filters( 'sanitize_user', string $username , string $raw_username , bool $strict )
Filters a sanitized username string.
Parameters
- $username
-
Sanitized username.
- $raw_username
-
The username prior to sanitization.
- $strict
-
Whether to limit the sanitization to specific characters.
Source
Changelog
| Version | Description |
|---|---|
| 2.0.1 | Introduced. |