WordPress at a glance
filter is not described

random_password filter-hook . WP 3.0.0

Filters the randomly-generated password.

Usage

add_filter( 'random_password', 'filter_function_name_7486', 10, 4 );
function filter_function_name_7486( $password, $length, $special_chars, $extra_special_chars ){
	// filter...

	return $password;
}
$password(string)
The generated password.
$length(int)
The length of password to generate.
$special_chars(true/false)
Whether to include standard special characters.
$extra_special_chars(true/false)
Whether to include other special characters.

Список изменений

С версии 3.0.0 Введена.
С версии 5.3.0 Added the $length, $special_chars, and $extra_special_chars parameters.

Где вызывается хук

wp_generate_password()
random_password
wp-includes/pluggable.php 2464
return apply_filters( 'random_password', $password, $length, $special_chars, $extra_special_chars );

Где используется хук в ядре WP

Использование не найдено.