Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Grades::calculate_course_grade( LLMS_Course $course, LLMS_Student $student )

Calculate the grade for a course

Parameters Parameters


(LLMS_Course) (Required) A LLMS_Course object.


(LLMS_Student) (Required) A LLMS_Student object.

Top ↑

Return Return


Top ↑

Source Source

File: includes/class-llms-grades.php

	private function calculate_course_grade( $course, $student ) {

		return apply_filters(
			$this->calculate_grade_from_children( $course->get_lessons( 'ids' ), $student ),


Top ↑

Changelog Changelog

Version Description
3.24.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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