Browse: Home / Classes / LearnDash_Import_User_Progress /

LearnDash_Import_User_Progress::set_post_prerequisite

LearnDash_Import_User_Progress::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-user-progress.php