apply_filters( 'llms_rest_prepare_enrollment_object_response', array $data , stdClass $enrollment , WP_REST_Request $request )
Filters the enrollment data for a response.
Parameters Parameters
- $data
-
(array) Array of enrollment properties prepared for response.
- $enrollment
-
(stdClass) Enrollment object.
- $request
-
(WP_REST_Request) Full details about the request.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-enrollments-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.10 | Introduced. |