WP_REST_Autosaves_Controller
Class: Core class used to access autosaves via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:18
Class: Core class used to access autosaves via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:18
Method: Prepares the revision for the REST response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:412
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:59
Filter Hook: Filters a revision returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:447
Method: Registers the routes for autosaves.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:82
Method: Retrieves the query params for the autosaves collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:457
Method: Get the parent post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:145
Method: Checks if a given request has access to get autosaves.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:157
Method: Checks if a given request has access to create an autosave revision.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:185
Method: Creates, updates or deletes an autosave revision.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:207
Method: Get the autosave, if the ID is valid.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:261
Method: Gets a collection of autosaves using wp_get_post_autosave.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:296
Method: Retrieves the autosave’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:324
Method: Creates autosave for the specified post.
Source: wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:354