LLMS_REST_Students_Progress_Controller::get_item_permissions_check( WP_REST_Request $request )
Check if a given request has access to read an item.
Parameters Parameters
- $request
-
(WP_REST_Request) (Required) Full details about the request.
Return Return
(WP_Error|boolean)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-students-progress-controller.php
public function get_item_permissions_check( $request ) { if ( ! $this->check_read_item_permissions( $request ) ) { return llms_rest_authorization_required_error(); } return true; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |