Advertisement

check_ajax_referer

Verifies the Ajax request to prevent processing requests external of the blog.

check_admin_referer

Ensures intent by verifying that a user was referred from another admin page with the correct security nonce.

auth_redirect

Checks if a user is logged in, if not it redirects them to the login page.

is_user_logged_in

Determines whether the current visitor is a logged in user.

Advertisement

wp_clear_auth_cookie

Removes all of the cookies associated with authentication.

wp_set_auth_cookie

Sets the authentication cookies based on user ID.

Advertisement

wp_logout

Log the current user out.

wp_authenticate

Authenticate a user, confirming the login credentials are valid.

wp_mail

Sends an email, similar to PHP’s mail function.

Advertisement

get_user_by

Retrieve user info by a given field

get_userdata

Retrieve user info by user ID.