LLMS_Processor_Course_Data::schedule_from_lesson( int $user_id, int $lesson_id )
Schedule recalculation from actions triggered against a lesson
Parameters Parameters
- $user_id
-
(int) (Required) WP user id of the student.
- $lesson_id
-
(int) (Required) WP Post ID of the lesson.
Return Return
(void)
Source Source
File: includes/processors/class.llms.processor.course.data.php
public function schedule_from_lesson( $user_id, $lesson_id ) { $lesson = llms_get_post( $lesson_id ); $this->schedule_calculation( $lesson->get( 'parent_course' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.15.0 | Introduced. |