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.
Хуки из функции
Возвращает
Массив.
Использование
wc_get_cart_coupon_types();
Список изменений
С версии 2.5.0 | Введена. |
Код wc_get_cart_coupon_types() wc get cart coupon types WC 5.0.0
function wc_get_cart_coupon_types() {
return (array) apply_filters( 'woocommerce_cart_coupon_types', array( 'fixed_cart' ) );
}