WordPress at a glance

wp_get_password_hint() WP 1.0

Gets the text suggesting how to create strong passwords.

✈ 1 time = 0.015789s = extreme slow | 50000 times = 0.19s = very fast PHP 7.1.11, WP 4.9.5
Hooks from function:
Return

String. The password hint text.

Usage

wp_get_password_hint();

Code of wp_get_password_hint: wp-includes/user.php VER 4.9.8

<?php
function wp_get_password_hint() {
	$hint = __( 'Hint: The password should be at least twelve characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! " ? $ % ^ &amp; ).' );

	/**
	 * Filters the text describing the site's password complexity policy.
	 *
	 * @since 4.1.0
	 *
	 * @param string $hint The password hint text.
	 */
	return apply_filters( 'password_hint', $hint );
}

Related Functions

From tag: password

More from category: Login/Logout

No comments
    Hello, !     Log In . Register