WordPress at a glance
filter is not described

woocommerce_rest_prepare_product_review filter-hook . WC 1.0

Filter product reviews object returned from the REST API.

Usage

add_filter( 'woocommerce_rest_prepare_product_review', 'filter_function_name_6050', 10, 3 );
function filter_function_name_6050( $response, $review, $request ){
	// filter...

	return $response;
}
$response(WP_REST_Response)
The response object.
$review(WP_Comment)
Product review object used to create response.
$request(WP_REST_Request)
Request object.

Where the hook is called

WC_REST_Product_Reviews_Controller::prepare_item_for_response()
woocommerce_rest_prepare_product_review
WC_REST_Product_Reviews_V2_Controller::prepare_item_for_response()
woocommerce_rest_prepare_product_review
WC_REST_Product_Reviews_V1_Controller::prepare_item_for_response()
woocommerce_rest_prepare_product_review
woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php 731
return apply_filters( 'woocommerce_rest_prepare_product_review', $response, $review, $request );
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php 108
return apply_filters( 'woocommerce_rest_prepare_product_review', $response, $review, $request );
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php 446
return apply_filters( 'woocommerce_rest_prepare_product_review', $response, $review, $request );

Where in WP core the hook is used WooCommerce

Usage not found.