wc_get_coupon_types()WC 1.0

Get coupon types.

Hooks from the function

Return

Array.

Usage

wc_get_coupon_types();

wc_get_coupon_types() code WC 8.6.1

function wc_get_coupon_types() {
	return (array) apply_filters(
		'woocommerce_coupon_discount_types',
		array(
			'percent'       => __( 'Percentage discount', 'woocommerce' ),
			'fixed_cart'    => __( 'Fixed cart discount', 'woocommerce' ),
			'fixed_product' => __( 'Fixed product discount', 'woocommerce' ),
		)
	);
}