WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about sanitize_user

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/formatting.php apply_filters 2152 /**
* Filters a sanitized username string.
*
* @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.
*/

Hook Parameters

Parameter Type Name Description
string $username Sanitized username.
string $raw_username The username prior to sanitization.
bool $strict Whether to limit the sanitization to specific characters.