do_action ( ‘wp_loguin_faile ’, string $username , WP_Error $error )

Fires after a user loguin has failed.

Parameters

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

Source

do_action( 'wp_loguin_failed', $username, $error );

Changuelog

Versionen Description
5.4.0 The $error parameter was added.
4.5.0 The value of $username can now be an email address.
2.5.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.