On this page
do_action( 'auth_cookie_bad_username', string[] $cookie_elements )
Fires if a bad username is entered in the user authentication process.
Parameters
$cookie_elementsstring[]-
Authentication cookie components. None of the components should be assumed to be valid as they come directly from a client-provided cookie value.
usernamestringUser's username.expirationstringThe time the cookie expires as a UNIX timestamp.tokenstringUser's session token used.hmacstringThe security hash for the cookie.schemestringThe cookie scheme to use.
Source
File: wp-includes/pluggable.php. View all references
do_action( 'auth_cookie_bad_username', $cookie_elements );
Related
Used By
| Used By | Description |
|---|---|
| wp_validate_auth_cookie() wp-includes/pluggable.php | Validates authentication cookie. |
Changelog
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/auth_cookie_bad_username