File: wp-includes/pluggable.php
-
hookwp_login_failed
Fires after a user login has failed.
-
functionwp_logout()
Logs the current user out.
-
hookwp_logout
Fires after a user is logged out.
-
hookwp_mail
Filters the wp_mail() arguments.
-
functionwp_validate_auth_cookie()
Validates authentication cookie.
-
functionwp_set_current_user()
Changes the current user by ID or name.
-
hookset_current_user
Fires after the current user is set.
-
functionwp_get_current_user()
Retrieves the current user object.
-
functionget_userdata()
Retrieves user info by user ID.
-
functionget_user_by()
Retrieves user info by a given field.
-
functioncache_users()
Retrieves info for user lists to prevent multiple queries by get_userdata().
-
functionwp_mail()
Sends an email, similar to PHP’s mail function.