Core class used to manage themes via the REST API.
rest_after_insert_{$this->taxonomy}
This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php
WP_REST_Search_Controller::get_search_handler
Gets the search handler to handle the current request.
WP_REST_Search_Controller::sanitize_subtypes
Sanitizes the list of subtypes, to ensure only subtypes of the passed type are included.
Advertisement
WP_REST_Search_Controller::get_collection_params
Retrieves the query params for the search results collection.
WP_REST_Search_Controller::prepare_item_for_response
Prepares a single search result for response.
WP_REST_Search_Controller::get_item_schema
Retrieves the item schema, conforming to JSON Schema.
WP_REST_Search_Controller::get_items
Retrieves a collection of search results.
Advertisement
WP_REST_Search_Controller::get_items_permission_check
Checks if a given request has access to search content.
WP_REST_Search_Controller::register_routes
Registers the routes for the objects of the controller.
WP_REST_Search_Controller::__construct
Constructor.
WP_REST_Search_Controller
Core class to search through all WordPress content via the REST API.
Advertisement
WP_REST_Revisions_Controller::prepare_items_query
Determines the allowed query_vars for a get_items() response and prepares them for WP_Query.
rest_after_insert_{$this->post_type}
This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
rest_after_insert_comment
This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php