WC_Cart::needs_payment()

Looks at the totals to see if payment is actually required.


Description Description


Return Return

(bool)


Top ↑

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 );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.