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)
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 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: