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
- $raw
-
(array) Raw lesson data array.
- $order
-
(int) Lesson order within the section (starts at 1).
- $section_id
-
(int) WP Post ID of the lesson's parent section.
- $course_id
-
(int) WP Post ID of the lesson's parent course.
- $fallback_author_id
-
(int) author ID to use as a fallback if no raw author data supplied for the lesson.
- $generator
-
(LLMS_Generator) Generator instance.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.30.2 | Introduced. |