password_hint filter-hookWP 4.1.0

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

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

Where the hook is used in WordPress

Usage not found.