woocommerce_coupon_error, $err, $err_code, null

woocommerce_coupon_error, $err, $err_code, null

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, null') is found 1 times:

  • /includes/class-wc-coupon.php line 1305
    				$err = '';
    				break;
    		}
    		// When using this static method, there is no $this to pass to filter.
    		return apply_filters( 'woocommerce_coupon_error', $err, $err_code, null );
    	}
    
    	/**
    	 * Get the coupon information that is needed to reapply the coupon to an existing order.
    	 * This information is intended to be stored as a meta value in the order line item corresponding to the coupon
    	 * and should NOT be modified or extended (additional/custom data should go in a separate metadata entry).