ClassicPress logo
Skip to content
Filter by type:

Browse:

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

WP_REST_Revisions_Controller::prepare_item_for_response()

Method: Prepares the revision for the REST response.

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

Used by 3 functions | Uses 8 functions

rest_prepare_revision

Filter Hook: Filters a revision returned from the REST API.

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

Used by 1 function | Uses 0 functions

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:654

Used by 1 function | Uses 0 functions

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:673

Used by 0 functions | Uses 0 functions

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 1 function | 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:766

Used by 2 functions | 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 1 function

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:830

Used by 1 function | Uses 2 functions

WP_REST_Revisions_Controller::register_routes()

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

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

Used by 0 functions | Uses 1 function
« Previous 1 2
ClassicPress Documentation • Made with ClassicPress
Privacy Policy