File: wp-includes/rest-api/endpoints/class-wp-rest-controller.php
-
Gets an array of fields to be included on the response.
Used by 1 function | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:572 -
Retrieves the object type this controller is responsible for managing.
Used by 3 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:552 -
Retrieves an array of endpoint arguments from the item schema for the controller.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:658 -
Sanitizes the slug value.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:678 -
Updates the values of additional fields added to a data object.
Used by 0 functions | Uses 3 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:455 -
Adds the schema from additional fields to a schema array.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:495 -
Retrieves all of the registered additional fields for a given object-type.
Used by 4 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:527 -
Retrieves the item’s schema for display / public consumption purposes.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:321 -
Retrieves the query params for the collections.
Used by 10 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:341 -
Retrieves the magical context param.
Used by 1 function | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:380 -
Adds the values from additional fields to a data object.
Used by 0 functions | Uses 4 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:419 -
Deletes one item from the collection.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:219 -
Prepares one item for create or update operation.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:236 -
Prepares the item for the REST response.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:254 -
Prepares a response for insertion into a collection.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:271 -
Filters a response based on the context defined in the schema.
Used by 0 functions | Uses 2 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:296 -
Retrieves the item’s schema, conforming to JSON Schema.
Used by 6 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:310 -
Checks if a given request has access to delete a specific item.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:202 -
Retrieves one item from the collection.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:117 -
Checks if a given request has access to create items.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:134 -
Creates one item from the collection.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:151 -
Checks if a given request has access to update a specific item.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:168 -
Updates one item from the collection.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:185 -
classWP_REST_Controller
Core base controller for managing and interacting with REST API items.
Used by 29 functions | Uses 0 functions | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:16 -
Registers the routes for the objects of the controller.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:49 -
Checks if a given request has access to get items.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:66 -
Retrieves a collection of items.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:83 -
Checks if a given request has access to get a specific item.
Used by 0 functions | Uses 1 function | Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:100