Show icon when choosing payment method.

This commit is contained in:
Phillip Whelan 2018-03-21 06:37:24 -03:00 committed by GitHub
parent 1afdaf0631
commit 35c9ef14db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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', "<img src='http://cdn.monerointegrations.com/logomonero.png' />");
}
public function init_form_fields()
{
$this->form_fields = array(