LLMS_REST_Access_Plans_Controller::get_collection_params()
Retrieves the query params for the objects collection
Return Return
(array) Collection parameters.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-access-plans-controller.php
public function get_collection_params() { $query_params = parent::get_collection_params(); $query_params['post_id'] = array( 'description' => __( 'Retrieve access plans for a specific list of one or more posts. Accepts a course/membership id or comma separated list of course/membership ids.', 'lifterlms' ), 'type' => 'array', 'items' => array( 'type' => 'integer', ), 'validate_callback' => 'rest_validate_request_arg', ); return $query_params; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.18 | Introduced. |