wc_get_cart_coupon_types()WC 2.5.0

Coupon types that apply to the cart as a whole. Controls which validation rules will apply.

Hooks from the function

Return

Array.

Usage

wc_get_cart_coupon_types();

Changelog

Since 2.5.0 Introduced.

wc_get_cart_coupon_types() code WC 8.6.1

function wc_get_cart_coupon_types() {
	return (array) apply_filters( 'woocommerce_cart_coupon_types', array( 'fixed_cart' ) );
}