Skip to content
LearnDash

Developers

  • Filter By:

learndash_validation_login_form_course

learndash_validation_login_form_course()

Gets the login form course ID.

Contents

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

Description #


Return #

(int|false) $course_id Valid course_id if valid otherwise false.


Source #

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


Changelog #

Changelog
Version Description
3.1.2 Introduced.

Related #

Uses #

Uses
Uses Description
themes/ld30/includes/login-register-functions.php: learndash_login_form_include_group

Filters whether to allow enrolment of course with the login. The default value is true.

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

Filters whether to allow enrolment of course with the login. The default value is true.

includes/class-ldlms-post-types.php: learndash_get_post_type_slug ()

This function is documented in includes/class-ldlms-post-types.php


Used By #

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

Updates user course data on user login.

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