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.


Top ↑

Return Return

(void)


Top ↑

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' ) );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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