LLMS_Student_Query::get_students()

Retrieve an array of LLMS_Students for the given set of students returned by the query


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/class.llms.student.query.php

	public function get_students() {

		$students = array();
		$results = $this->get_results();

		if ( $results ) {

			foreach ( $results as $result ) {
				$students[] = new LLMS_Student( $result->id );
			}
		}

		if ( $this->get( 'suppress_filters' ) ) {
			return $students;
		}

		return apply_filters( $this->get_filter( 'get_students' ), $students );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: