Other (category)

auth_redirect()

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

count_many_users_posts()

Number of posts written by a list of users.

count_user_posts()

Gets the number of posts of a specified type for a specified user (author).

count_users()

Count number of users who have each of the user roles.

email_exists()

Checks whether the given email exists.

get_author_posts_url()

Retrieve the URL to the author page for the user with the ID provided.

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

Fetch a filtered list of user roles that the current user is allowed to edit.

get_the_author()

Retrieve the author of the current post.

get_the_author_link()

Retrieve either author's link or author's name.

get_the_author_posts_link()

Retrieves an HTML link to the author page of the current post's author.

get_the_modified_author()

Retrieve the author who last edited the current post.

get_user_by()

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

get_userdata()

Retrieve user data by user ID as WP_User object.

get_users()

Gets users according to the passed parameters.

is_multi_author()

Does this site have more than one author

sanitize_user()

Sanitizes a username, stripping out unsafe characters.

the_author_link()

Display either author's link or author's name.

the_author_posts()

Display the number of posts by the author of the current post.

the_author_posts_link()

Displays HTML link (<a> tag) to the archive page of the author of the current post. The text of the link will be the name of the author.

the_modified_author()

Display the name of the author who last edited the current post, if the author's ID is available.

username_exists()

Checks whether the given username (login) exists.

validate_username()

Checks whether a username (login) is valid.

wp_dropdown_roles()

Print out <option> html elements for all user roles, for <select> element.

wp_dropdown_users()

Create dropdown HTML content of users.

wp_get_current_user()

Retrieve the current authorized user data (WP_User object). Sets current user, if not set yet.

wp_list_authors()

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

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.