LLMS_REST_Authentication::check_permissions( mixed $result, WP_REST_Server $server, WP_REST_Request $request )

Check if the API Key can perform the request.


Description Description


Parameters Parameters

$result

(Required) Response to replace the requested version with.

$server

(Required) Server instance.

$request

(Required) Request used to generate the response.


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/class-llms-rest-authentication.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.12 Call llms_rest_authorization_required_error() instructing to not check if the current user is logged in to avoid infinite loops.
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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