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::generate_courses()
Generator called for bulk course imports
Contents
Return Return
(void)
Source Source
File: includes/class.llms.generator.php
$backwards_compat = array( 'course' => 'courses', 'section' => 'sections', 'lesson' => 'lessons', 'access_plan' => 'plans', 'quiz' => 'quizzes', 'question' => 'questions', 'term' => 'terms', 'user' => 'authors', ); foreach ( $backwards_compat as $curr => $old ) { $stats[ $old ] = isset( $stats[ $curr ] ) ? $stats[ $curr ] : 0; } return $stats; } /** * Determines if there was an error during the running of the generator
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |