wpseek.com
A WordPress-centric search engine for devs and theme authors



sanitize_user › WordPress Filter Hooks

Since2.0.1
Deprecatedn/a
apply_filters( 'sanitize_user', $username, $raw_username, $strict )
Parameters: (3)
  • () username Sanitized username.
    Required: Yes
  • () raw_username The username prior to sanitization.
    Required: Yes
  • () strict Whether to limit the sanitization to specific characters.
    Required: Yes
Defined at:
Codex:

Filters a sanitized username string.





Source

return apply_filters( 'sanitize_user', $username, $raw_username, $strict );