LLMS_AJAX_Handler::get_course_lesson( array $request )
Get a course’s lesson
Parameters Parameters
- $request
-
(array) (Required) $_POST data.
Return Return
(array)
Source Source
File: includes/class.llms.ajax.handler.php
public static function get_course_lesson( $request ) { $l = new LLMS_Lesson( $request['lesson_id'] ); return array( 'id' => $l->get( 'id' ), 'title' => $l->get( 'title' ), 'excerpt' => $l->get( 'excerpt' ), ); }
Expand full source code Collapse full source code View on GitHub