WP_REST_Controller::get_fields_for_response()
Method: Gets an array of fields to be included on the response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:519
Method: Gets an array of fields to be included on the response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:519
Method: Retrieves the object type this controller is responsible for managing.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:499
Method: Retrieves an array of endpoint arguments from the item schema for the controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:558
Method: Sanitizes the slug value.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:631
Method: Retrieves the item’s schema for display / public consumption purposes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:283
Method: Retrieves the query params for the collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:301
Method: Retrieves the magical context param.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:340
Method: Adds the values from additional fields to a data object.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:379
Method: Updates the values of additional fields added to a data object.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:410
Method: Adds the schema from additional fields to a schema array.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:443
Method: Retrieves all of the registered additional fields for a given object-type.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:473
Method: Retrieves the item’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:272
Method: Deletes one item from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:168
Method: Prepares one item for create or update operation.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:181
Method: Prepares the item for the REST response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:195
Method: Prepares a response for insertion into a collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:208
Method: Filters a response based on the context defined in the schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:233
Method: Checks if a given request has access to delete a specific item.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:155
Method: Retrieves one item from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:90
Method: Checks if a given request has access to create items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:103
Method: Creates one item from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:116
Method: Checks if a given request has access to update a specific item.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:129
Method: Updates one item from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:142
Class: Core base controller for managing and interacting with REST API items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:15
Method: Registers the routes for the objects of the controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:38
Method: Checks if a given request has access to get items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:51
Method: Retrieves a collection of items.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:64
Method: Checks if a given request has access to get a specific item.
Source: wp-includes/rest-api/endpoints/class-wp-rest-controller.php:77