@package: Users
-
Filters whether the provided username is valid.
-
functionwp_insert_user()
Inserts a user into the database.
-
hookpre_user_login
Filters a username after it has been sanitized.
-
Filters the list of sites a user belongs to.
-
Filters a user field value in the ‘edit’ context.
-
functionis_user_member_of_blog()
Finds out whether a user is a member of a given blog.
-
Filters the value of a user field in the ‘db’ context.
-
functionadd_user_meta()
Adds meta data to a user.
-
functiondelete_user_meta()
Removes metadata matching criteria from a user.
-
functionget_user_meta()
Retrieves user meta field for a user.
-
functionupdate_user_meta()
Updates user meta field based on user ID.
-
Filters a specific user option value.
-
functioncount_users()
Counts number of users who have each of the user roles.
-
functionupdate_user_option()
Updates user option with global blog capability.
-
functionsetup_userdata()
Sets up global user vars.
-
functiondelete_user_option()
Deletes user option with global blog capability.
-
functionwp_dropdown_users()
Creates dropdown HTML content of users.
-
functionget_users()
Retrieves list of users matching criteria.
-
Filters the wp_dropdown_users() HTML output.
-
functionget_blogs_of_user()
Gets the sites a user belongs to.
-
functionsanitize_user_field()
Sanitizes user field based on context.
-
functioncount_user_posts()
Gets the number of posts a user has written.
-
functionwp_signon()
Authenticates and logs a user in with ‘remember’ capability.
-
hookget_usernumposts
Filters the number of posts a user has written.
-
hookwp_authenticate
Fires before the user is authenticated.
-
functioncount_many_users_posts()
Gets the number of posts written by a list of users.
-
Filters whether to use a secure sign-on cookie.
-
functionget_current_user_id()
Gets the current user’s ID.
-
hookwp_login
Fires after the user has successfully logged in.
-
functionget_user_option()
Retrieves user option that can be either per Site or per Network.