LD_REST_Assignments_Controller_V2::get_item_permissions_check( object $request )
Check user permission to get/access single item.
Description #
Parameters #
- $request
-
(object) (Required) WP_REST_Request instance.
Return #
(bool|WP_Error) True if the request has read access for the item, WP_Error object otherwise.
Source #
File: includes/rest-api/v2/class-ld-rest-assignments-controller.php
Changelog #
Version | Description |
---|---|
4.10.3 | Only admins can access it. |
3.3.0 | Introduced. |