Filters a sanitized username string.
$usernamestring$raw_usernamestring$strictboolwp-includes/formatting.php:2173sanitize_user() * @since 2.0.1 * * @param string $username Sanitized username. * @param string $raw_username The username prior to sanitization. * @param bool $strict Whether to limit the sanitization to specific characters. */ return apply_filters( 'sanitize_user', $username, $raw_username, $strict );} /** * Sanitizes a string key. * * Keys are used as internal identifiers. Lowercase alphanumeric characters,Introduced in 2.0.1. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.