rest_prepare_theme

rest_prepare_theme

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('rest_prepare_theme') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php line 369
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
         * @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.0

See this hook used in plugins: