learndash_get_course_prerequisite_compare

learndash_get_course_prerequisite_compare( int $post_id )

Gets the prerequisites compare value for a course.


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.