Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Generator::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.php
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.3.0 | |
3.24.0 | Introduced. |