Warning: This method has been deprecated.

LLMS_Post_Handler::create_lesson( int $course_id, int $section_id, string $title = '', string $excerpt = '' )

Create lesson


Description Description


Parameters Parameters

$course_id

(Required) WP_Post ID of the course.

$section_id

(Required) WP_Post ID of the lesson's parent section.

$title

(Optional) lesson title.

Default value: ''

$excerpt

(Optional) Option excerpt.

Default value: ''


Top ↑

Return Return

(int) WP_Post ID of the created lesson.


Top ↑

Source Source

File: includes/class.llms.post.handler.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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