password_hint
Filters the text describing the site's password complexity policy.
Usage
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(string)
- The password hint text.
Changelog
| Since 4.1.0 | Introduced. |
Where the hook is called
password_hint
wp-includes/user.php 3032
return apply_filters( 'password_hint', $hint );