learndash_get_course_prerequisite_compare( int $post_id )
Gets the prerequisites compare value for a course.
Description Description
Parameters Parameters
- $post_id
-
(Required) The ID of the course.
Return Return
(string) The compare value for the prerequisite. Value can be 'ALL' or 'ANY' by default.
Source Source
File: includes/course/ld-course-functions.php
Changelog Changelog
Version | Description |
---|---|
2.4.0 | Introduced. |