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.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog 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.