WordPress at Your Fingertips
filter is not described

woocommerce_api_coupon_response filter-hook . WC 1.0

Usage

add_filter( 'woocommerce_api_coupon_response', 'filter_function_name_1107', 10, 4 );
function filter_function_name_1107( $coupon_data, $coupon, $fields, $server ){
	// filter...

	return $coupon_data;
}
$coupon_data
-
$coupon
-
$fields
-
$server
-

Where the hook is called

WC_API_Coupons::get_coupon()
woocommerce_api_coupon_response
woocommerce/includes/legacy/api/v1/class-wc-api-coupons.php 137
return array( 'coupon' => apply_filters( 'woocommerce_api_coupon_response', $coupon_data, $coupon, $fields, $this->server ) );
woocommerce/includes/legacy/api/v2/class-wc-api-coupons.php 145
return array( 'coupon' => apply_filters( 'woocommerce_api_coupon_response', $coupon_data, $coupon, $fields, $this->server ) );
woocommerce/includes/legacy/api/v3/class-wc-api-coupons.php 145
return array( 'coupon' => apply_filters( 'woocommerce_api_coupon_response', $coupon_data, $coupon, $fields, $this->server ) );

Where in WP core the hook is used WooCommerce

Usage not found.