LLMS_REST_Enrollments_Controller::build_collection_params()
Build the query params for the objects collection.
Return Return
(array) Collection parameters.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-enrollments-controller.php
* @since 1.0.0-beta.1 * * @param array $collection_params The Enrollments collection parameters to be set. * @return void */ public function set_collection_params( $collection_params ) { $this->collection_params = $collection_params; } /** * Build the query params for the objects collection. * * @since 1.0.0-beta.1 * @since 1.0.0-beta.10 Fixed 'context' query parameter schema. * * @return array Collection parameters. */ protected function build_collection_params() { $query_params = parent::get_collection_params();
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.10 | Fixed 'context' query parameter schema. |
1.0.0-beta.1 | Introduced. |