WordPress at a glance
filter is not described

woocommerce_rest_prepare_data_currency filter-hook . WC 1.0

Filter currency returned from the API.


add_filter( 'woocommerce_rest_prepare_data_currency', 'filter_function_name_4803', 10, 3 );
function filter_function_name_4803( $response, $item, $request ){
	// filter...

	return $response;
The response object.
Currency data.
Request used to generate the response.

Where the hook is called

woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php 169
return apply_filters( 'woocommerce_rest_prepare_data_currency', $response, $item, $request );

Where in WP core the hook is used WooCommerce

Usage not found.