Other (category)
| auth_redirect() | Checks if the user is authorized before allowing them on any page of the site. |
| count_many_users_posts() | Returns the number of posts for multiple specified users (IDs are provided). |
| count_user_posts() | Gets the number of posts of a specified type for a specified user (author). |
| count_users() | Counts the total number of users, dividing them by roles (administrators, subscribers). |
| email_exists() | Checks if the specified email exists among registered users. |
| get_author_posts_url() | Gets the URL (link) to the author's archive page (the page with the user's posts). |
| get_current_user_id() | Get the current user's ID. |
| get_currentuserinfo() | Sets the global variable $current_user, which contains the data of the currently logged-in user. |
| get_edit_user_link() | Gets the URL of the user's profile page in the admin panel. |
| get_editable_roles() | Returns a filtered list of user roles. |
| get_the_author() | Gets the name (display_name) of the post author. Used inside the WordPress loop. |
| get_the_author_link() | Returns a link (A tag) to the author's website. The anchor of the link will be the author's name. |
| get_the_author_posts_link() | Gets the HTML code for a link to the author's post archive page. The link text will be the "displayed" name of the author. This template tag should be used inside the WordPress Loop. |
| get_the_modified_author() | Gets the name (display_name) of the user (author) who last edited the current post. |
| get_user() | Gets a user object based on its numeric ID. |
| 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() | Defines whether there is more than one author on the site who has published posts. Conditional tag. |
| sanitize_user() | Cleans the username (login, username) by removing unsafe characters. |
| the_author_link() | Outputs the HTML code for a link to the author's site. |
| the_author_posts() | Outputs the total number of posts (int) written by the current author. Used inside the WordPress Loop. |
| the_author_posts_link() | Displays HTML link ( |
| the_modified_author() | Outputs the author who last edited the post. |
| username_exists() | Checks whether the given username (login) exists. |
| validate_username() | Checks the correctness of the username (username - login). |
| wp_dropdown_roles() | Print out <option> html elements for all user roles, for |
| wp_dropdown_users() | Displays a dropdown list 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() | Outputs a list of blog authors as links to their posts if posts exist. |
| wp_list_users() | Outputs/gets a list of users' display names from the site in a simple or LI list format. A number of parameters can be specified for selection. |
| wp_send_new_user_notifications() | Notifies the site administrator by email about the registration of a new user, and also sends the user an email with their login and password for authentication. |
| 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. |