File: wp-includes/user.php
-
Filters a user field value in the ‘edit’ context.
-
functionupdate_user_option()
Updates user option with global blog capability.
-
Filters the value of a user field in the ‘db’ context.
-
functiondelete_user_option()
Deletes user option with global blog capability.
-
Filters whether to use a secure sign-on cookie.
-
hookwp_login
Fires after the user has successfully logged in.
-
Authenticates a user, confirming the username and password are valid.
-
Filters whether the given user can be authenticated with the provided password.
-
functionwp_authenticate_cookie()
Authenticates the user using the WordPress auth cookie.
-
functionwp_authenticate_spam_check()
For Multisite blogs, checks if the authenticated user has been marked as a spammer, or if the user’s primary blog has been marked as spam.
-
Filters whether the user has been marked as a spammer.
-
functionwp_validate_logged_in_cookie()
Validates the logged-in cookie.
-
functioncount_user_posts()
Gets the number of posts a user has written.
-
hookget_usernumposts
Filters the number of posts a user has written.
-
functioncount_many_users_posts()
Gets the number of posts written by a list of users.
-
functionget_current_user_id()
Gets the current user’s ID.
-
functionget_user_option()
Retrieves user option that can be either per Site or per Network.
-
functionwp_signon()
Authenticates and logs a user in with ‘remember’ capability.
-
hookwp_authenticate
Fires before the user is authenticated.
-
functionget_user_count()
Returns the number of active users in your installation.