WP_Super_Cache_Router::get_item_permissions_check()
Check if a given request has access to get a specific item
Method of the class: WP_Super_Cache_Router{}
No Hooks.
Return
WP_Error|true|false
.
Usage
$result = WP_Super_Cache_Router::get_item_permissions_check( $request );
- $request(WP_REST_Request) (required)
- Full data about the request.
WP_Super_Cache_Router::get_item_permissions_check() WP Super Cache Router::get item permissions check code WPSCache 1.12.4
public static function get_item_permissions_check( $request ) { return self::get_items_permissions_check( $request ); }