WP_REST_Themes_Controller::_sanitize_stylesheet_callback()
Method: Sanitize the stylesheet to decode endpoint.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:86
Method: Sanitize the stylesheet to decode endpoint.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:86
Method: Checks if a given request has access to read the theme.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:123
Method: Checks if a theme can be read.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:149
Method: Retrieves a single theme.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:175
Method: Prepares links for the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:362
Method: Helper function to compare two themes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:398
Method: Prepares the theme support value for inclusion in the REST API response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:413
Class: Core class used to manage themes via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:17
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:30
Method: Registers the routes for themes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:42
Method: Checks if a given request has access to read the theme.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:98
Method: Retrieves a collection of themes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:197
Method: Prepares a single theme output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:232
Filter Hook: Filters theme data returned from the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:351
Method: Retrieves the theme’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:434
Method: Retrieves the search params for the themes collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:618
Filter Hook: Filters REST API collection parameters for the themes controller.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:637
Method: Sanitizes and validates the list of theme status.
Source: wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:651