WC_REST_Layout_Templates_Controller::get_items_permissions_check()publicWC 1.0

Check if a given request has access to read template layouts.

Method of the class: WC_REST_Layout_Templates_Controller{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_REST_Layout_Templates_Controller = new WC_REST_Layout_Templates_Controller();
$WC_REST_Layout_Templates_Controller->get_items_permissions_check( $request ): bool;
$request(WP_REST_Request) (required)
The request.

WC_REST_Layout_Templates_Controller::get_items_permissions_check() code WC 9.0.1

public function get_items_permissions_check( $request ): bool {
	return true;
}