LLMS_Student::get_grade( int $object_id, bool $use_cache = true )
Get the students grade for a lesson / course All grades are based on quizzes assigned to lessons
Parameters Parameters
- $object_id
-
(int) (Required) WP Post ID of a course or lesson
- $use_cache
-
(bool) (Optional) If true, uses cached results
Default value: true
Return Return
(mixed)
Source Source
File: includes/models/model.llms.student.php
* @return array * @since 3.15.0 * @version 3.15.0 */ public function get_events( $args = array() ) { $query = new LLMS_Query_User_Postmeta(
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
?? | Introduced. |