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_grade_from_children( array $children, LLMS_Student $student )
Calculates the grades for elements that have a list of children which are averaged / weighted to come up with the total grade
Description Description
Parameters Parameters
- $children
-
(Required) list of child objects
- $student
-
(Required) A LLMS_Student object.
Return Return
(float|null)
Source Source
File: includes/class-llms-grades.php
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Introduced. |