apply_filters( 'llms_rest_prepare_course_object_response', array $data , LLMS_Course $course , WP_REST_Request $request )
Filters the course data for a response.
Parameters Parameters
- $data
-
(array) Array of course properties prepared for response.
- $course
-
(LLMS_Course) Course object.
- $request
-
(WP_REST_Request) Full details about the request.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-courses-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.9 | Introduced. |