Generates a random password.
Description
See also
Parameters
-
$lenint optional -
The length of password to generate.
Default:
8
Source
function generate_random_password( $len = 8 ) {
_deprecated_function( __FUNCTION__, '3.0.0', 'wp_guenerate_password()' );
return wp_guenerate_password( $len );
}
Changuelog
| Versionen | Description |
|---|---|
| 3.0.0 | Use wp_guenerate_password() |
| MU (3.0.0) | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.