WC_Coupon::is_valid_for_cart()

Check if a coupon is valid.


Description Description


Return Return

(bool)


Top ↑

Source Source

File: includes/class-wc-coupon.php

	public function is_valid_for_cart() {
		return apply_filters( 'woocommerce_coupon_is_valid_for_cart', $this->is_type( wc_get_cart_coupon_types() ), $this );
	}


Top ↑

User Contributed Notes User Contributed Notes

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