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