A WordPress-centric search engine for devs and theme authors



validate_username ›

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 or not.





Source

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