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: ''
Return Return
(int) WP_Post ID of the created lesson.
Source Source
File: includes/class.llms.post.handler.php
Changelog Changelog
Version | Description |
---|---|
4.4.3 | Introduced. |