wpseek.com
A WordPress-centric search engine for devs and theme authors



generate_random_password › WordPress Function

Since
Deprecated3.0.0
generate_random_password ( $len = 8 )
Parameters:
  • (int) $len Optional. The length of password to generate. Default 8.
    Required: No
    Default: 8
See:
Defined at:
Codex:
Change Log:
  • MU

Generates a random password.



Source

function generate_random_password( $len = 8 ) {
	_deprecated_function( __FUNCTION__, '3.0.0', 'wp_generate_password()' );
	return wp_generate_password( $len );
}