WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about random_password

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/pluggable.php apply_filters 2616 /**
* Filters the randomly-generated password.
*
* @since 3.0.0
* @since 5.3.0 Added the `$length`, `$special_chars`, and `$extra_special_chars` parameters.
*
* @param string $password The generated password.
* @param int $length The length of password to generate.
* @param bool $special_chars Whether to include standard special characters.
* @param bool $extra_special_chars Whether to include other special characters.
*/

Hook Parameters

Parameter Type Name Description
string $password The generated password.
int $length The length of password to generate.
bool $special_chars Whether to include standard special characters.
bool $extra_special_chars Whether to include other special characters.