ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php

WP_REST_Revisions_Controller::prepare_date_response()

Method: Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:433

Used by 1 function | Uses 1 function

WP_REST_Revisions_Controller::get_item_schema()

Method: Retrieves the revision’s schema, conforming to JSON Schema.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:452

Used by 0 functions | Uses 1 function

WP_REST_Revisions_Controller

Class: Core class used to access revisions via the REST API.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:17

Used by 0 functions | Uses 1 function

WP_REST_Revisions_Controller::get_collection_params()

Method: Retrieves the query params for collections.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:539

Used by 1 function | Uses 0 functions

WP_REST_Revisions_Controller::__construct()

Method: Constructor.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:50

Used by 1 function | Uses 2 functions

WP_REST_Revisions_Controller::prepare_excerpt_response()

Method: Checks the post excerpt and prepare it for single post output.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:554

Used by 1 function | Uses 2 functions

WP_REST_Revisions_Controller::register_routes()

Method: Registers routes for revisions based on post types supporting revisions.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:66

Used by 0 functions | Uses 3 functions

WP_REST_Revisions_Controller::get_parent()

Method: Get the parent post, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:128

Used by 4 functions | Uses 3 functions

WP_REST_Revisions_Controller::get_items_permissions_check()

Method: Checks if a given request has access to get revisions.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:150

Used by 2 functions | Uses 7 functions

WP_REST_Revisions_Controller::get_revision()

Method: Get the revision, if the ID is valid.

Source: wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:172

Used by 3 functions | Uses 3 functions
1 2 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy