learndash_get_course_prerequisite_enabled( int $course_id )
Checks whether the prerequisites are enabled for a course.
Description Description
Parameters Parameters
- $course_id
-
(Required) The ID of the course.
Return Return
(boolean) Returns true if the prerequisites are enabled otherwise false.
Source Source
File: includes/course/ld-course-functions.php
Changelog Changelog
Version | Description |
---|---|
2.4.0 | Introduced. |