Merge pull request #636 from Mamaduka/master

Add filter to needs_shipping()
This commit is contained in:
Mike Jolley 2012-02-14 02:20:53 -08:00
commit 1afa441eb0
1 changed files with 1 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ class WC_Cart {
endif;
endforeach;
return $needs_shipping;
return apply_filters( 'woocomerce_cart_needs_shipping', $needs_shipping );
}
/**