File: wp-includes/user.php
-
functionupdate_user_caches()
Updates all user caches.
-
Filters a user’s nickname before the user is created or updated.
-
functionclean_user_cache()
Cleans all user caches.
-
Filters a user’s first name before the user is created or updated.
-
functionusername_exists()
Determines whether the given username exists.
-
Filters a user’s last name before the user is created or updated.
-
functionemail_exists()
Determines whether the given email exists.
-
Filters a user’s display name before the user is created or updated.
-
functionvalidate_username()
Checks whether a username is valid.
-
Filters a user’s description before the user is created or updated.
-
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.