modified woocommerce_gateway_icon filter to use two arguments

This commit is contained in:
mosu forge 2018-11-28 07:37:38 -08:00
parent ccb387095d
commit ad0d9ef004

View File

@ -42,7 +42,7 @@ class Monero_Gateway extends WC_Payment_Gateway
public function get_icon()
{
return apply_filters('woocommerce_gateway_icon', '<img src="'.MONERO_GATEWAY_PLUGIN_URL.'assets/images/monero-icon.png"/>');
return apply_filters('woocommerce_gateway_icon', '<img src="'.MONERO_GATEWAY_PLUGIN_URL.'assets/images/monero-icon.png"/>', $this->id);
}
function __construct($add_action=true)