LLMS_REST_Enrollments_Controller::check_read_permission( mixed $enrollment )
Checks if an enrollment can be read.
Description Description
Parameters Parameters
- $enrollment
-
(Required) The enrollment object.
Return Return
(bool) Whether the enrollment can be read.
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-enrollments-controller.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.4 | The single enrollment can be read only by who can view the enrollment's student. |
1.0.0-beta.1 | Introduced. |