From 35c9ef14db9a200d591c9c85e716d0d8afd7828d Mon Sep 17 00:00:00 2001 From: Phillip Whelan Date: Wed, 21 Mar 2018 06:37:24 -0300 Subject: [PATCH] Show icon when choosing payment method. --- monero/include/monero_payments.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/monero/include/monero_payments.php b/monero/include/monero_payments.php index f30056d..4f42c6f 100644 --- a/monero/include/monero_payments.php +++ b/monero/include/monero_payments.php @@ -73,6 +73,11 @@ class Monero_Gateway extends WC_Payment_Gateway $this->monero_daemon = new Monero_Library($this->host, $this->port); } + public function get_icon() + { + return apply_filters('woocommerce_gateway_icon', ""); + } + public function init_form_fields() { $this->form_fields = array(