LLMS_REST_Memberships_Controller::get_enrollments_collection_params()
Retrieves the query params for the enrollments objects collection.
Return Return
(array) Collection parameters.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-memberships-controller.php
public function __construct() {
parent::__construct();
$this->enrollments_controller = new LLMS_REST_Enrollments_Controller();
$this->enrollments_controller->set_collection_params( $this->get_enrollments_collection_params() );
}
/**
* Retrieves the query params for the enrollments objects collection.
*
* @since 1.0.0-beta.9
*
* @return array Collection parameters.
*/
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0-beta.9 | Introduced. |