Skip to content

Commit

Permalink
Merge pull request #51 from pwhelan/patch-1
Browse files Browse the repository at this point in the history
Show icon when choosing payment method.
  • Loading branch information
serhack authored Mar 23, 2018
2 parents 1afdaf0 + 35c9ef1 commit 91d3f12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions monero/include/monero_payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ function __construct()
$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(
Expand Down

0 comments on commit 91d3f12

Please sign in to comment.