WC_Cart::needs_payment()
Looks at the totals to see if payment is actually required.
Description Description
Return Return
(bool)
Source Source
File: includes/class-wc-cart.php
public function needs_payment() { return apply_filters( 'woocommerce_cart_needs_payment', 0 < $this->get_total( 'edit' ), $this ); }