Browse: Home / Functions /

learndash_get_course_prerequisite_enabled

learndash_get_course_prerequisite_enabled( int $course_id )

Checks whether the prerequisites are enabled for a course.


Description #


Parameters #

$course_id

(int) (Required) The ID of the course.


Return #

(boolean) Returns true if the prerequisites are enabled otherwise false.


Source #

File: includes/course/ld-course-functions.php


Changelog #

Changelog
Version Description
2.4.0 Introduced.