wc_get_product_coupon_types()
Coupon types that apply to individual products. Controls which validation rules will apply.
Hooks from the function
Return
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 7.5.0
function wc_get_product_coupon_types() { return (array) apply_filters( 'woocommerce_product_coupon_types', array( 'fixed_product', 'percent' ) ); }