From 48243109c0eae40a1ab89acd003ddecd785e1d62 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Fri, 26 Aug 2016 12:23:53 +0100 Subject: [PATCH] This is ran on set --- includes/class-wc-coupon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-coupon.php b/includes/class-wc-coupon.php index 2f227269126..029b61add49 100644 --- a/includes/class-wc-coupon.php +++ b/includes/class-wc-coupon.php @@ -137,7 +137,7 @@ class WC_Coupon extends WC_Legacy_Coupon { * @return string */ public function get_code() { - return apply_filters( 'woocommerce_coupon_code', $this->_data['code'] ); + return $this->_data['code']; } /**