LLMS_Privacy::get_student_certificates( LLMS_Student $student )
Retrieve student certificates.
Parameters Parameters
- $student
-
(LLMS_Student) (Required) Student object.
Return Return
Source Source
File: includes/privacy/class-llms-privacy.php
protected static function get_student_certificates( $student ) { $query = $student->get_certificates( array( 'sort' => array( 'date' => 'DESC' ) ) ); return $query->get_awards(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Updated the use of LLMS_Student::get_certificates() with its new behavior. |
3.18.0 | Introduced. |