Skip to content
LearnDash

Developers

  • Filter By:

learndash_add_login_hash

learndash_add_login_hash( string $url = '' )

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

Contents

  • Description
    • Parameters
    • Return
    • Source
    • Changelog
  • Related
    • Used By

Description #

Used throughout the LD30 login model and processing functions.


Parameters #

$url

(string) (Optional) URL to check and append hash.

Default value: ''


Return #

(string) Returns URL after adding login hash.


Source #

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


Changelog #

Changelog
Version Description
3.1.2 Introduced.

Related #

Used By #

Used By
Used By Description
themes/ld30/includes/login-register-functions.php: learndash_password_reset_login_url ()

Handles password reset logic.

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

Updates user course data on user login.

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

Handles the login fail scenario from WP.

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

Handles user registration failure.

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