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


(array) Array of lesson properties prepared for response.


(LLMS_Lesson) Lesson object.


(WP_REST_Request) Full details about the request.

Top ↑

Source Source

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

View on GitHub

Top ↑

Changelog Changelog

Version Description
1.0.0-beta.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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