@package: Users
-
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.
-
Fills in missing query variables with default values.
-
hookadd_user_role
Fires immediately after the user has been given a new role.
-
hookremove_user_role
Fires immediately after a role as been removed from a user.
-
methodWP_User::__call()
Makes private/protected methods readable for backward compatibility.
-
functionwp_roles()
Retrieves the global WP_Roles instance and instantiates it if necessary.
-
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.
-
Parses an ‘order’ query variable and casts it to ASC or DESC as necessary.
-
Parses and sanitizes ‘orderby’ keys passed to the user query.
-
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.
-
methodWP_Roles::__call()
Makes private/protected methods readable for backward compatibility.
-
methodWP_User_Query::__get()
Makes private properties readable for backward compatibility.
-
methodWP_User_Query::__set()
Makes private properties settable for backward compatibility.
-
methodWP_User_Query::__isset()
Makes private properties checkable for backward compatibility.
-
methodWP_User_Query::__unset()
Makes private properties un-settable for backward compatibility.
-
methodWP_User_Query::__call()
Makes private/protected methods readable for backward compatibility.
-
functionwp_destroy_all_sessions()
Removes all session tokens for the current user from the database.
-
hookpre_get_users
Fires before the WP_User_Query has been parsed.