Used By
Used By | Description |
---|---|
wp-includes/formatting.php: sanitize_user() | Sanitizes a username, stripping out unsafe characters. |
Filters a sanitized username string.
(string) Sanitized username.
(string) The username prior to sanitization.
(bool) Whether to limit the sanitization to specific characters.
Version | Description |
---|---|
2.0.1 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sanitize_user