Skip to content
LearnDash

Developers

  • Filter By:

learndash_login_failed

learndash_login_failed( string $username = '' )

Handles the login fail scenario from WP.

Contents

  • Description
    • Parameters
    • Source
    • Changelog
  • Related
    • Uses

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 #

File: themes/ld30/includes/login-register-functions.php


Changelog #

Changelog
Version Description
3.0.0 Introduced.

Related #

Uses #

Uses
Uses Description
includes/ld-misc-functions.php: learndash_safe_redirect ()

Utility function to centralize all LearnDash redirect calls.

themes/ld30/includes/login-register-functions.php: learndash_add_login_hash ()

Adds ‘#login’ to the end of a the login URL.

themes/ld30/includes/login-register-functions.php: learndash_validation_login_form_redirect_to ()

Gets the login form validation redirect URL.

Post navigation

← Previous Function
Next Function →

The Most Trusted Online Course Platform for WordPress.

Get Started Demo

  • Features
  • Dynamic Learning
  • Marketing and Sales
  • Integrations
  • Course Management
  • Resources
  • Blog
  • Webinars
  • Videos
  • Case Studies
  • Add-ons
  • Online Demo
  • Company
  • About LearnDash
  • Brand Assets
  • Careers
  • Affiliates
  • Privacy Policy
  • Terms and Conditions
LearnDash LearnDash® Copyright© 2012-2021. All rights reserved.
  • Twitter
  • Facebook
  • LinkedIn
  • YouTube