WP_REST_Block_Renderer_Controller::get_item_permissions_check

SummerySummery

Checks if a given request has access to read blocks.

Syntax

WP_REST_Block_Renderer_Controller::get_item_permissions_check( WP_REST_Request $request )

ParametersParameters

$request

(WP_REST_Request) (Required) Request.

ReturnReturn

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

SourceSource

File: wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php


			

ChangelogChangelog

Changelog
Version Description
5.0.0 Introduced.
Scroll to Top