Browse: Home / Classes / LearnDash_Import_Course /

LearnDash_Import_Course::set_post_prerequisite

LearnDash_Import_Course::set_post_prerequisite( int $dest_post_id,  int $prereq_post_id )

Set post prerequisites


Description #

Prerequisite only support by Courses. (well and quizzes) This function also enables course prerequisite


Parameters #

$dest_post_id

(int) (Required) Destination Post ID.

$prereq_post_id

(int) (Required) Prerequisite Post ID.


Source #

File: includes/import/class-ld-import-course.php