Sanitizes and validates the list of theme status.
rest_themes_collection_params
Filter collection parameters for the themes controller.
WP_REST_Themes_Controller::get_collection_params
Retrieves the search params for the themes collection.
rest_prepare_theme
Filters theme data returned from the REST API.
Advertisement
WP_REST_Themes_Controller::get_item_schema
Retrieves the theme’s schema, conforming to JSON Schema.
WP_REST_Themes_Controller::prepare_item_for_response
Prepares a single theme output for response.
WP_REST_Themes_Controller::get_items
Retrieves a collection of themes.
WP_REST_Themes_Controller::get_items_permissions_check
Checks if a given request has access to read the theme.
Advertisement
WP_REST_Themes_Controller::register_routes
Registers the routes for the objects of the controller.
WP_REST_Themes_Controller::__construct
Constructor.
WP_REST_Themes_Controller
Core class used to manage themes via the REST API.