learndash_get_course_prerequisite( int $course_id )
Gets the list of course prerequisites for a given course.
Description Description
Parameters Parameters
- $course_id
-
(Optional) The ID if the course. Default 0.
Return Return
(array) An array of course prerequisite.
Source Source
File: includes/course/ld-course-functions.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |