LLMS_REST_Enrollments_Controller::check_create_permission()
Checks if an enrollment can be edited.
Return Return
(bool) Whether the enrollment can be created
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-enrollments-controller.php
protected function check_create_permission() { return current_user_can( 'enroll' ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |