apply_filters( 'learndash_login_form_include_course', boolean $include_course , int $course_id )
Filters whether to allow enrollment of course with the login. The default value is true.
Description Description
Parameters Parameters
- $include_course
-
Whether to allow login from the course.
- $course_id
-
Course ID.
Source Source
File: themes/ld30/includes/login-register-functions.php
Changelog Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |