LLMS_REST_Students_Progress_Controller::get_item( WP_REST_Request $request )
Get a single item.
Parameters Parameters
- $request
-
(WP_REST_Request) (Required) Full details about the request.
Return Return
(WP_Error|WP_REST_Response)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-students-progress-controller.php
public function get_item( $request ) { $object = $this->get_object( array( $request['id'], $request['post_id'] ) ); $response = $this->prepare_item_for_response( $object, $request ); return rest_ensure_response( $response ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |