Retrieves the query params for collections.
Description
See also
Return
(array) Collection parameters.
Source
File: src/db-objects/elements/element-types/rest-element-types-controller.php
public function get_collection_params() { return array( 'context' => $this->get_context_param( array( 'default' => 'view', ) ), ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |