Filters theme data returned from the REST API.
$responseWP_REST_Response$themeWP_Theme$requestWP_REST_Requestwp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php:369WP_REST_Themes_Controller::prepare_item_for_response() * @since 5.0.0 * * @param WP_REST_Response $response The response object. * @param WP_Theme $theme Theme object used to create response. * @param WP_REST_Request $request Request object. */ return apply_filters( 'rest_prepare_theme', $response, $theme, $request ); } /** * Prepares links for the request. * * @since 5.7.0Introduced in 5.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.