LLMS_REST_Sections_Controller::get_content_collection_params()
Retrieves the query params for the lessons objects collection.
Return Return
(array) Collection parameters.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-sections-controller.php
* @since 1.0.0-beta.1 * * @return array Collection parameters. */ public function get_content_collection_params() { $query_params = $this->content_controller->get_collection_params(); $query_params['orderby']['enum'] = array( 'order', 'id', 'title', ); $query_params['orderby']['default'] = 'order'; unset( $query_params['parent'] );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |