WordPress at a glance
filter is not described

woocommerce_rest_prepare_tax filter-hook . WC 1.0

Filter tax object returned from the REST API.

Usage

add_filter( 'woocommerce_rest_prepare_tax', 'filter_function_name_3208', 10, 3 );
function filter_function_name_3208( $response, $tax, $request ){
	// filter...

	return $response;
}
$response(WP_REST_Response)
The response object.
$tax(stdClass)
Tax object used to create response.
$request(WP_REST_Request)
Request object.

Where the hook is called

WC_REST_Taxes_V1_Controller::prepare_item_for_response()
woocommerce_rest_prepare_tax
WC_REST_Tax_Classes_V1_Controller::prepare_item_for_response()
woocommerce_rest_prepare_tax
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php 542
return apply_filters( 'woocommerce_rest_prepare_tax', $response, $tax, $request );
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php 267
return apply_filters( 'woocommerce_rest_prepare_tax', $response, (object) $tax_class, $request );

Where in WP core the hook is used WooCommerce

Usage not found.