File: wp-includes/pluggable.php
-
functionauth_redirect()
Checks if a user is logged in, if not it redirects them to the login page.
-
functionwp_parse_auth_cookie()
Parses a cookie into its components.
-
Filters whether to use a secure authentication redirect.
-
functionwp_set_auth_cookie()
Sets the authentication cookies based on user ID.
-
Filters the authentication redirect scheme.
-
Filters the duration of the authentication cookie expiration period.
-
hookauth_redirect
Fires before the authentication redirect.
-
Filters whether the auth cookie should only be sent over HTTPS.
-
functioncheck_admin_referer()
Ensures intent by verifying that a user was referred from another admin page with the correct security nonce.
-
Filters whether the logged in cookie should only be sent over HTTPS.
-
Fires once the admin request has been validated or not.
-
hookset_auth_cookie
Fires immediately before the authentication cookie is set.
-
functioncheck_ajax_referer()
Verifies the Ajax request to prevent processing requests external of the blog.
-
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.
-
functionwp_authenticate()
Authenticates a user, confirming the login credentials are valid.
-
functionwp_generate_auth_cookie()
Generates authentication cookie contents.
-
hookauthenticate
Filters whether a set of user login credentials are valid.
-
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.
-
hookwp_mail_from
Filters the email address to send from.
-
Fires if an authentication cookie is malformed.
-
Filters the name to associate with the “from” email address.
-
Fires once an authentication cookie has expired.