WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_login_failed

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/pluggable.php do_action 637 /**
* Fires after a user login has failed.
*
* @since 2.5.0
* @since 4.5.0 The value of `$username` can now be an email address.
* @since 5.4.0 The `$error` parameter was added.
*
* @param string $username Username or email address.
* @param WP_Error $error A WP_Error object with the authentication failure details.
*/

Hook Parameters

Parameter Type Name Description
string $username Username or email address.
WP_Error $error A WP_Error object with the authentication failure details.