WP_Super_Cache_Router::get_items_permissions_check()public staticWPSCache 1.0

Check if a given request has access to get items

Method of the class: WP_Super_Cache_Router{}

No Hooks.

Return

WP_Error|true|false.

Usage

$result = WP_Super_Cache_Router::get_items_permissions_check( $request );
$request(WP_REST_Request) (required)
Full data about the request.

WP_Super_Cache_Router::get_items_permissions_check() code WPSCache 1.12.1

public static function get_items_permissions_check( $request ) {
	return wpsupercache_site_admin();
}