wc_get_product_coupon_types()
Coupon types that apply to individual products. Controls which validation rules will apply.
Hooks from the function
Returns
Array.
Usage
wc_get_product_coupon_types();
Changelog
| Since 2.5.0 | Introduced. |
wc_get_product_coupon_types() wc get product coupon types code WC 10.6.2
function wc_get_product_coupon_types() {
return (array) apply_filters( 'woocommerce_product_coupon_types', array( 'fixed_product', 'percent' ) );
}