learndash_login_failed( string $username = '' )
Handles the login fail scenario from WP.
Description #
Fires on wp_login_failed
hook. Note for ’empty_username’, ’empty_password’ error conditions this action will not be called. Those conditions are handled in learndash_authenticate() if the user logged in via the LD modal.
Parameters #
- $username
-
(string) (Optional) Login name from login form process. Not used.
Default value: ''
Source #
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |