LLMS_Generator_Courses::handle_prerequisites()
Updates course and lesson prerequisites
Description Description
If the prerequisite was included in the import, updates to the new imported version.
If the prereq is not included but the source matches, leaves the prereq intact as long as the prereq exists.
Otherwise removes prerequisite data from the new course / lesson.
Removes prereq track associations if there’s no source or source doesn’t match or if the track doesn’t exist.
Return Return
(void)
Source Source
File: includes/class-llms-generator-courses.php
Changelog Changelog
Version | Description |
---|---|
3.3.0 | |
3.24.0 | Introduced. |