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



validate_username › WordPress Filter Hooks

Since2.0.1
Deprecatedn/a
apply_filters( 'validate_username', $valid, $username )
Parameters: (2)
  • (bool) $valid Whether given username is valid.
    Required: Yes
  • (string) $username Username to check.
    Required: Yes
Defined at:
Codex:

Filters whether the provided username is valid.





Source

return apply_filters( 'validate_username', $valid, $username );