On this page
apply_filters( 'random_password', string $password, int $length, bool $special_chars, bool $extra_special_chars )
Filters the randomly-generated password.
Parameters
$passwordstring-
The generated password.
$lengthint-
The length of password to generate.
$special_charsbool-
Whether to include standard special characters.
$extra_special_charsbool-
Whether to include other special characters.
Source
File: wp-includes/pluggable.php. View all references
return apply_filters( 'random_password', $password, $length, $special_chars, $extra_special_chars );
Related
Used By
| Used By | Description |
|---|---|
| wp_generate_password() wp-includes/pluggable.php | Generates a random password drawn from the defined set of characters. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/random_password