From 40fa2659eef02c5db25e2b55356c2cec43be0a59 Mon Sep 17 00:00:00 2001 From: Andrew Benbow Date: Fri, 28 Mar 2014 14:10:53 +0000 Subject: [PATCH] Update class-wc-cart.php --- includes/class-wc-cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-cart.php b/includes/class-wc-cart.php index 8821e94207e..e4bf3bcdd31 100644 --- a/includes/class-wc-cart.php +++ b/includes/class-wc-cart.php @@ -1352,7 +1352,7 @@ class WC_Cart { } } - return $needs_shipping; + return apply_filters( 'woocommerce_cart_needs_shipping', $needs_shipping ); } /**