WordPress at a glance
filter is not described

woocommerce_coupons_enabled filter-hook . WC 2.5.0

Check if coupons are enabled. Filterable.

Usage

add_filter( 'woocommerce_coupons_enabled', 'filter_function_name_6781' );
function filter_function_name_6781( $string ){
	// filter...

	return $string;
}
$string
-

Changelog

Since 2.5.0 Introduced.

Where the hook is called

wc_coupons_enabled()
woocommerce_coupons_enabled
woocommerce/includes/wc-coupon-functions.php 69
return apply_filters( 'woocommerce_coupons_enabled', 'yes' === get_option( 'woocommerce_enable_coupons' ) );

Where in WP core the hook is used WooCommerce

Usage not found.