From ad0d9ef004f58b587b6ac2f06da7f78d5415bd70 Mon Sep 17 00:00:00 2001 From: mosu forge Date: Wed, 28 Nov 2018 07:37:38 -0800 Subject: [PATCH] modified woocommerce_gateway_icon filter to use two arguments --- include/class-monero-gateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class-monero-gateway.php b/include/class-monero-gateway.php index 56f9819..6f3a45b 100644 --- a/include/class-monero-gateway.php +++ b/include/class-monero-gateway.php @@ -42,7 +42,7 @@ class Monero_Gateway extends WC_Payment_Gateway public function get_icon() { - return apply_filters('woocommerce_gateway_icon', ''); + return apply_filters('woocommerce_gateway_icon', '', $this->id); } function __construct($add_action=true)