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