password_hint
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 | Введена. |
Где вызывается хук
password_hint
wp-includes/user.php 3070
return apply_filters( 'password_hint', $hint );