woocommerce_coupon_message

woocommerce_coupon_message

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_coupon_message') is found 1 times:

  • /includes/class-wc-coupon.php line 1011
    			default:
    				$msg = '';
    				break;
    		}
    		return apply_filters( 'woocommerce_coupon_message', $msg, $msg_code, $this );
    	}
    
    	/**
    	 * Map one of the WC_Coupon error codes to a message string.
    	 *
    	 * @param int $err_code Message/error code.