Merge pull request #51 from pwhelan/patch-1

Show icon when choosing payment method.
monerowp
serhack 6 years ago committed by GitHub
commit 91d3f12f46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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(

Loading…
Cancel
Save