WordPress at a glance

Users (_user) (tag)

current_user_can()

Whether the current user has a specific capability.

delete_user_option()

Delete user option with global blog capability.

get_current_user_id()

Get the current user's ID.

get_user_by()

Retrieve user info by a given field

get_user_option()

Retrieve user option that can be either per Site or per Network.

get_userdata()

Retrieve user info by user ID.

get_users()

Retrieve list of users matching criteria.

is_user_logged_in()

Checks if the current visitor is a logged in user.

update_user_status()

Update the status of a user in the database.

wp_create_user()

A simpler way of inserting a user into the database.

wp_get_current_user()

Retrieve the current authorized user data (WP_User object).

wp_insert_user()

Insert user data into the database. Create/update a user.

wp_set_current_user()

Changes the current user by ID or name. The function does not authorize the user but changes the global variable $current_user and its associated variables.

wp_update_user()

Update a user data in the database. Work with both tables wp_usermeta and wp_users.