File: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php
-
Retrieves one global styles revision from the collection.
-
Gets the global styles revision, if the ID is valid.
-
Retrieves the revision’s schema, conforming to JSON Schema.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:353 -
Checks if a given request has access to read a single global style.
-
Gets the parent post, if the ID is valid.
-
Core class used to access global styles revisions via the REST API.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:17 -
Constructor.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:50 -
Registers the controller’s routes.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:71 -
Retrieves the query params for collections.
Used by 2 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:383 -
Returns decoded JSON from post content string, or a 404 if not found.
Used by 2 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:128 -
Returns paginated revisions of the given global styles config custom post type.
-
Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
-
Prepares the revision for the REST response.
Used by 1 function | Uses 5 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-global-styles-revisions-controller.php:277