WordPress at a glance
filter is not described

woocommerce_coupon_error filter-hook . WC 1.0

When using this static method, there is no $this to pass to filter.

Usage

add_filter( 'woocommerce_coupon_error', 'filter_function_name_7923', 10, 3 );
function filter_function_name_7923( $err, $err_code, $null ){
	// filter...

	return $err;
}
$err
-
$err_code
-
$null
-

Where the hook is called

WC_Coupon::get_generic_coupon_error()
woocommerce_coupon_error
WC_Discounts::is_coupon_valid()
woocommerce_coupon_error
WC_Coupon::get_coupon_error()
woocommerce_coupon_error
woocommerce/includes/class-wc-coupon.php 1075
return apply_filters( 'woocommerce_coupon_error', $err, $err_code, null );
woocommerce/includes/class-wc-discounts.php 1009
$message = apply_filters( 'woocommerce_coupon_error', is_numeric( $e->getMessage() ) ? $coupon->get_coupon_error( $e->getMessage() ) : $e->getMessage(), $e->getCode(), $coupon );
woocommerce/includes/class-wc-coupon.php 1051
return apply_filters( 'woocommerce_coupon_error', $err, $err_code, $this );

Where in WP core the hook is used WooCommerce

Usage not found.