LLMS_REST_Users_Controller::get_objects_from_query( obj $query )

Retrieve an array of objects from the result of $this->get_objects_query()


Parameters Parameters

$query

(obj) (Required) Objects query result.


Top ↑

Return Return

(WP_User[])


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-users-controller.php

	protected function get_objects_from_query( $query ) {
		return $query->get_results();
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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