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.


Top ↑

Return Return

(array|WP_Error)


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-controller.php

		$registered = $this->get_collection_params();
		$prepared   = array();



Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.12 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.