Merge pull request #636 from Mamaduka/master
Add filter to needs_shipping()
This commit is contained in:
commit
1afa441eb0
|
@ -1072,7 +1072,7 @@ class WC_Cart {
|
|||
endif;
|
||||
endforeach;
|
||||
|
||||
return $needs_shipping;
|
||||
return apply_filters( 'woocomerce_cart_needs_shipping', $needs_shipping );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue