apply_filters( 'llms_rest_prepare_lesson_object_response', array $data , LLMS_Lesson $lesson , WP_REST_Request $request )
Filters the lesson data for a response.
Parameters Parameters
- $data
-
(array) Array of lesson properties prepared for response.
- $lesson
-
(LLMS_Lesson) Lesson object.
- $request
-
(WP_REST_Request) Full details about the request.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-lessons-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.7 | Introduced. |