woocommerce_coupon_error, $err, $err_code, $this

woocommerce_coupon_error, $err, $err_code, $this

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

apply_filters('woocommerce_coupon_error, $err, $err_code, $this') is found 1 times:

  • /includes/class-wc-coupon.php line 1281
    			default:
    				$err = '';
    				break;
    		}
    		return apply_filters( 'woocommerce_coupon_error', $err, $err_code, $this );
    	}
    
    	/**
    	 * Map one of the WC_Coupon error codes to an error string.
    	 * No coupon instance will be available where a coupon does not exist,
    	 * so this static method exists.