File: wp-includes/user.php
-
Gets all personal data request types.
-
hookusername_exists
Filters whether the given username exists.
-
Filters user data before the record is created or updated.
-
Filters the list of a user’s sites before it is populated.
-
function_wp_get_current_user()
Retrieves the current user object.
-
functionwp_authenticate_email_password()
Authenticates a user using the email and password.
-
Fires after a new user registration has been recorded.
-
functionwp_send_new_user_notifications()
Initiates email notifications related to the creation of new users.
-
functionwp_get_users_with_no_role()
Gets the user IDs of all users with no role on this site.
-
Fires after the user’s password is reset.
-
functionget_password_reset_key()
Creates, stores, then returns a password reset key for user.
-
hookinsert_user_meta
Filters a user’s meta values and keys immediately after the user is created or updated and before any user meta is inserted or updated.
-
Filters the list of disallowed usernames.
-
Filters the query arguments for the list of users in the dropdown.
-
hookclean_user_cache
Fires immediately after the given user’s cache is cleaned.
-
Filters the expiration time of password reset keys.
-
Filters whether to send the email change email.
-
Filters the contents of the email sent when the user’s password is changed.
-
Filters the contents of the email sent when the user’s email is changed.
-
Filters whether to send the password change email.
-
functionwp_get_password_hint()
Gets the text suggesting how to create strong passwords.
-
hookpassword_hint
Filters the text describing the site’s password complexity policy.
-
functionwp_destroy_all_sessions()
Removes all session tokens for the current user from the database.
-
functionwp_get_session_token()
Retrieves the current session token from the logged_in cookie.
-
functionwp_get_all_sessions()
Retrieves a list of sessions for the current user.
-
functionwp_destroy_current_session()
Removes the current session token from the database.
-
functionwp_destroy_other_sessions()
Removes all but the current session token for the current user for the database.
-
Fires before a new password is retrieved.
-
Fires before a new password is retrieved.
-
Filters whether to allow a password to be reset.