Filters the randomly-generated password.
$passwordstring$lengthint$special_charsbool$extra_special_charsboolwp-includes/pluggable.php:2989wp_generate_password() * * @param string $password The generated password. * @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.Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.