learndash_get_course_prerequisite_compare learndash_get_course_prerequisite_compare( int $post_id ) Gets the prerequisites compare value for a course. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $post_id (int) (Required) The ID of the course. Return # (string) The compare value for the prerequisite. Value can be 'ALL' or 'ANY' by default. Source # File: includes/course/ld-course-functions.php Changelog # Changelog Version Description 2.4.0 Introduced. Related # Namespace # global @package # LearnDash / Course Uses # Uses Uses Description includes/settings/settings-functions.php: learndash_get_setting () Gets the LearnDash setting for a post. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. Used By # Used By Used By Description includes/course/ld-course-functions.php: learndash_is_course_prerequities_completed () Checks if the user’s course prerequisites are completed for a given course. includes/course/ld-course-functions.php: learndash_get_course_prerequisites () Gets the list of course prerequisites and its status for a course.
Uses # Uses Uses Description includes/settings/settings-functions.php: learndash_get_setting () Gets the LearnDash setting for a post. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource.
Used By # Used By Used By Description includes/course/ld-course-functions.php: learndash_is_course_prerequities_completed () Checks if the user’s course prerequisites are completed for a given course. includes/course/ld-course-functions.php: learndash_get_course_prerequisites () Gets the list of course prerequisites and its status for a course.