Browse: Home / Classes / LD_REST_Groups_Controller_V1 /


LD_REST_Groups_Controller_V1::get_items_permissions_check( WP_REST_Request $request )

Checks if a given request has access to read posts.

Description #

We override this to implement our own permissions check.

Parameters #


(WP_REST_Request) (Required) Full details about the request.

Return #

(true|WP_Error) True if the request has read access, WP_Error object otherwise.

Source #

File: includes/rest-api/v1/class-ld-rest-groups-controller.php

Changelog #

Version Description
2.5.8 Introduced.