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