File: wp-includes/pluggable.php
-
Filters the wp_mail() content type.
-
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.