File: wp-includes/pluggable.php
-
Filters the wp_mail() content type.
-
Fires if a bad username is entered in the user authentication process.
-
hookwp_mail_charset
Filters the default wp_mail() charset.
-
Fires if a bad authentication cookie hash is encountered.
-
hookphpmailer_init
Fires after PHPMailer is initialized.
-
Fires once an authentication cookie has been validated.
-
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.
-
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.