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.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.10 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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