wc_get_cart_coupon_types()
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() wc get cart coupon types code WC 9.2.3
function wc_get_cart_coupon_types() { return (array) apply_filters( 'woocommerce_cart_coupon_types', array( 'fixed_cart' ) ); }