wp_generate_password Wordpress function


Description:

Generates a random password drawn from the defined set of characters.


Syntax:


Arguments:

(int) $length The length of password to generate
(bool) $special_chars Whether to include standard special characters. Default true.
(bool) $extra_special_chars Whether to include other special characters. Used when generating secret keys and salts. Default false.


Return Type:

(string) The random password


Define At:

wp-includes/pluggable.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_generate_password


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×