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



random_password › WordPress Filter Hooks

Since5.3.0
Deprecatedn/a
apply_filters( 'random_password', $password, $length, $special_chars, $extra_special_chars )
Parameters: (4)
  • (string) $password The generated password.
    Required: Yes
  • (int) $length The length of password to generate.
    Required: Yes
  • (bool) $special_chars Whether to include standard special characters.
    Required: Yes
  • (bool) $extra_special_chars Whether to include other special characters.
    Required: Yes
Defined at:
Codex:

Filters the randomly-generated password.





Source

return apply_filters( 'random_password', $password, $length, $special_chars, $extra_special_chars );