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.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.generator.php



Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0
3.24.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.