Used By
| Used By | Description |
|---|---|
| wp-includes/pluggable.php: wp_generate_password() | Generates a random password drawn from the defined set of characters. |
Filters the randomly-generated password.
(string) The generated password.
(int) The length of password to generate.
(bool) Whether to include standard special characters.
(bool) Whether to include other special characters.
| Version | Description |
|---|---|
| 5.3.0 | Added the $length, $special_chars, and $extra_special_chars parameters. |
| 3.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/random_password