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