This is ran on set

This commit is contained in:
Mike Jolley 2016-08-26 12:23:53 +01:00
parent c6d0d059fd
commit 48243109c0
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ class WC_Coupon extends WC_Legacy_Coupon {
* @return string * @return string
*/ */
public function get_code() { public function get_code() {
return apply_filters( 'woocommerce_coupon_code', $this->_data['code'] ); return $this->_data['code'];
} }
/** /**