WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about rest_prepare_theme

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php apply_filters 347 /**
* Filters theme data returned from the REST API.
*
* @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.
*/

Hook Parameters

Parameter Type Name Description
WP_REST_Response $response The response object.
WP_Theme $theme Theme object used to create response.
WP_REST_Request $request Request object.