Codex tools: Log in / create account
Contents |
Generates a random password of the specified length (up to a maximum of 32 characters).
<?php generate_random_password($len) ?>
<?php
echo 'Random password: '.generate_random_password( );
?>
This function executes the random_password filter after generating the password.