Skip to content
LearnDash

Developers

  • Filter By:

learndash_validation_registration_form_course

learndash_validation_registration_form_course()

Utility function to check and return the registration 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_registration_form_include_group

Filters whether to allow user registration from the course.

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

Filters whether to allow user registration from the course.

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_register_user_success ()

Handles user registration success.

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