lifterlms_template_student_dashboard_my_grades_table( LLMS_Course $course, LLMS_Student $student )
Output the template for a single grades table on the student dashboard
Parameters Parameters
- $course
-
(LLMS_Course) (Required) LLMS_Course.
- $student
-
(LLMS_Student) (Required) LLMS_Student.
Return Return
(void)
Source Source
File: includes/functions/llms.functions.templates.dashboard.php
function lifterlms_template_student_dashboard_my_grades_table( $course, $student ) {
/**
* Filter the student dashboard "my grades" table headings
*
* @since unknown
*
* @param array $section_headings "My Grades" table headings.
*/
$section_headings = apply_filters(
'llms_student_dashboard_my_grades_table_headings',
array(
'completion_date' => __( 'Completion Date', 'lifterlms' ),
'associated_quiz' => __( 'Quiz', 'lifterlms' ),
'overall_grade' => __( 'Grade', 'lifterlms' ),
)
);
llms_get_template(
'myaccount/my-grades-single-table.php',
array(
'course' => $course,
'student' => $student,
'section_headings' => $section_headings,
)
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.24.0 | Introduced. |