Retrieves the query params for the models collection.
Description
See also
Return
(array) Collection parameters.
Source
File: src/db-objects/form-categories/rest-form-categories-controller.php
public function get_collection_params() { $query_params = parent::get_collection_params(); $query_params['per_page']['maximum'] = 500; $query_params['orderby']['default'] = $this->manager->get_slug_property(); return $query_params; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |