do_action( ‘wp_login_failed’, string $username, WP_Error $error ) In this article Table of ContentsParameters Source Related Changelog ↑ Back to top Fires after a user login has failed. Parameters $usernamestringUsername or email address.$errorWP_ErrorA WP_Error object with the authentication failure details. Source do_action( 'wp_login_failed', $username, $error ); View all references View on Trac View on GitHub Related Used byDescriptionwp_authenticate()wp-includes/pluggable.phpAuthenticates a user, confirming the login credentials are valid. Changelog VersionDescription5.4.0The $error parameter was added.4.5.0The value of $username can now be an email address.2.5.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.