LLMS_REST_API_Keys_Controller::check_permissions()
Check if the authenticated user can perform the request action.
Return Return
(boolean)
Source Source
File: libraries/lifterlms-rest/includes/server/class-llms-rest-api-keys-controller.php
protected function check_permissions() { return current_user_can( 'manage_lifterlms_api_keys' ) ? true : llms_rest_authorization_required_error(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |