LLMS_REST_Students_Progress_Controller::prepare_object_for_response( LLMS_Abstract_User_Data $object, WP_REST_Request $request )
Prepare an object for response.
Parameters Parameters
- $object
-
(LLMS_Abstract_User_Data) (Required) User object.
- $request
-
(WP_REST_Request) (Required) Request object.
Return Return
(array)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-students-progress-controller.php
* * @param LLMS_Abstract_User_Data $object User object. * @param WP_REST_Request $request Request object. * @return array */
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |