random_password

random_password

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('random_password') is found 1 times:

  • /wp-includes/pluggable.php line 2731
    2727
    2728
    2729
    2730
    2731
    2732
    2733
    2734
    2735
    2736
    2737
             * @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.