wp_get_password_hint

Advertisement

Summery Summery

Gets the text suggesting how to create strong passwords.

Syntax Syntax

wp_get_password_hint()

Return Return

(string) The password hint text.

Source Source

File: wp-includes/user.php

 * @since 2.9.0
 * @access private
 *
 * @param WP_User $user Optional. WP_User object. Default null.
 * @return string[] Array of contact method labels keyed by contact method.
 */
function _wp_get_user_contactmethods( $user = null ) {
	return wp_get_user_contact_methods( $user );
}

/**
 * Gets the text suggesting how to create strong passwords.

Advertisement

Changelog Changelog

Changelog
Version Description
4.1.0 Introduced.

Advertisement

Leave a Reply