LLMS_REST_Users_Controller::get_collection_params()

Retrieves the query params for the objects collection


Return Return

(array) Collection parameters.


Top ↑

Source Source

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

199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
protected function check_read_object_permissions( $object ) {
    return $this->check_read_item_permissions( $this->get_object_id( $object ) );
}
 
/**
 * Retrieves the query params for the objects collection
 *
 * @since 1.0.0-beta.1
 *
 * @return array Collection parameters.
 */
public function get_collection_params() {
 
    $params = parent::get_collection_params();
 
    $params['roles'] = array(


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.