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::get_grade_from_cache( LLMS_Post_Model $post, LLMS_Student $student )
Retrieve a grade from the wp_cache
Description Description
Parameters Parameters
- $post
-
(Required) A LLMS_Post_Model object.
- $student
-
(Required) A LLMS_Student object.
Return Return
(mixed) grade as a float null if there's no grade for the post false if the grade wasn't found in the cache
Source Source
File: includes/class-llms-grades.php
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Introduced. |