LLMS_Privacy::get_student_achievements( LLMS_Student $student )

Retrieve student achievements.

Parameters Parameters


(LLMS_Student) (Required) Student object.

Top ↑

Return Return


Top ↑

Source Source

File: includes/privacy/class-llms-privacy.php

	protected static function get_student_achievements( $student ) {

		$query = $student->get_achievements( array( 'sort' => array( 'date' => 'DESC' ) ) );

		return $query->get_awards();

Top ↑

Changelog Changelog

Version Description
6.0.0 Updated the use of LLMS_Student::get_achievements() with its new behavior.
3.18.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.