WP_REST_Autosaves_Controller::get_items_permissions_check( WP_REST_Request $request )
Checks if a given request has access to get autosaves.
Parameters
- $request
-
(Required) Full details about the request.
Return
(true|WP_Error) True if the request has read access, WP_Error object otherwise.
Source
File: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php
Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |