password (tag)

check_password_reset_key()

Checks (compares) the provided key for password recovery with the hash of that key in the database.

get_password_reset_key()

Creates a key in the database for password recovery for the specified user and returns this key.

reset_password()

Resets (changes) the password of the specified user.

wp_check_password()

Checks the plaintext password against the encrypted Password.

wp_generate_password()

Generates a random password. You can specify the length and what characters to use.

wp_get_password_hint()

Gets text with an explanation of how to create a strong password.

wp_hash_password()

Encrypts the specified text to make a password hash from it.

wp_set_password()

Updates the user's password with a new encrypted one. Updates the specified password in the database and resets the user's cache.