password_hint хук-фильтрWP 4.1.0

Filters the text describing the site's password complexity policy.

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

add_filter( 'password_hint', 'wp_kama_password_hint_filter' );

/**
 * Function for `password_hint` filter-hook.
 * 
 * @param string $hint The password hint text.
 *
 * @return string
 */
function wp_kama_password_hint_filter( $hint ){

	// filter...
	return $hint;
}
$hint(строка)
The password hint text.

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

С версии 4.1.0 Введена.

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

wp_get_password_hint()
password_hint
wp-includes/user.php 2870
return apply_filters( 'password_hint', $hint );

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

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