Users (_user) (tag)

clean_user_cache()

Clean all user caches

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_currentuserinfo()

Populate global variables with information about the currently logged in user.

get_edit_user_link()

Retrieves the edit user link.

get_user_by()

Gets the user by the specified field and the value of this field (by ID, login, mail).

get_user_option()

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

get_userdata()

Retrieve user data by user ID as WP_User object.

get_users()

Gets users according to the passed parameters.

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). Sets current user, if not set yet.

wp_insert_user()

Creates a WordPress user in the Database.

wp_list_users()

List all the users of the site, with several options available.

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.

WP_User{}

Core class used to implement the WP_User object.