Filters a sanitized username string.
$usernamestring
$raw_usernamestring
$strictbool
return apply_filters( 'sanitize_user', $username, $raw_username, $strict );
| Version | Description |
|---|---|
| 2.0.1 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sanitize_user