apply_filters( 'llms_generator_before_new_lesson', array $raw, int $order, int $section_id, int $course_id, int $fallback_author_id, LLMS_Generator $generator )

Filter raw lesson import data prior to generation

Parameters Parameters


(array) Raw lesson data array.


(int) Lesson order within the section (starts at 1).


(int) WP Post ID of the lesson's parent section.


(int) WP Post ID of the lesson's parent course.


(int) author ID to use as a fallback if no raw author data supplied for the lesson.


(LLMS_Generator) Generator instance.

Top ↑

Source Source

File: includes/class-llms-generator-courses.php

View on GitHub

Top ↑

Changelog Changelog

Version Description
3.30.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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