WordPress at Your Fingertips

password (tag)

check_password_reset_key()

Retrieves a user row based on password reset key and login

get_password_reset_key()

Creates, stores, then returns a password reset key for 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 the text suggesting how to create strong passwords.

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.