Login/Logout (category)

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.

is_login()

Determines whether the current request is for the login screen.

is_user_logged_in()

Checks if the current visitor is a logged in user.

wp_authenticate()

Checks the authorization data of the registered user (login and password) and authorizes it if the check was passed.

wp_check_password()

Checks the plaintext password against the encrypted Password.

wp_destroy_other_sessions()

Removes all but the current session token for the current user for the database.

wp_get_password_hint()

Gets the text suggesting how to create strong passwords.

wp_get_session_token()

Retrieves the current session token from the logged_in cookie.

wp_login_form()

Provides a simple login form for use anywhere within WordPress.

wp_login_url()

Retrieves the login URL.

wp_loginout()

Display the Log In/Out link.

wp_logout()

Log the current user out.

wp_logout_url()

Retrieves the logout URL. Returns the URL that allows the authorized user to log out of the site.

wp_lostpassword_url()

Returns the URL that allows the user to retrieve the lost password

wp_register()

Displays either the link to the dashboard ("Site Admin") if the user is logged in or "Register" link if the user is not logged in.

wp_registration_url()

Returns the URL that allows the user to register on the site.

wp_set_auth_cookie()

Authorizes (Log in) a user by ID. Sets authentication cookies based on the transmitted user ID.

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.

wp_signon()

Authenticates and logs a user in with 'remember' capability.