LLMS_REST_Controller::map_params_to_query_args( array $prepared, array $registered, WP_REST_Request $request )
Map schema to query arguments to retrieve a collection of objects.
Parameters Parameters
- $prepared
-
(array) (Required) Array of collection arguments.
- $registered
-
(array) (Required) Registered collection params.
- $request
-
(WP_REST_Request) (Required) Full details about the request.
Return Return
(array|WP_Error)
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-controller.php
$registered = $this->get_collection_params(); $prepared = array();
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.12 | Introduced. |