random_password

random_password

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('random_password') is found 1 times:

  • /wp-includes/pluggable.php line 2731
    		 * @param int    $length              The length of password to generate.
    		 * @param bool   $special_chars       Whether to include standard special characters.
    		 * @param bool   $extra_special_chars Whether to include other special characters.
    		 */
    		return apply_filters( 'random_password', $password, $length, $special_chars, $extra_special_chars );
    	}
    endif;
    
    if ( ! function_exists( 'wp_rand' ) ) :
    	/**
    	 * Generates a random non-negative number.