Action hook 'wp_login_failed'

in WP Core File wp-includes/pluggable.php at line 643

Description

Fires after a user login has failed.

Occurrences

Filename Line Number
wp-includes/pluggable.php 643

Parameters

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

PHP Doc

/**
			 * 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.
			 */