Skip to content

Commit

Permalink
Show icon when choosing payment method.
Browse files Browse the repository at this point in the history
  • Loading branch information
pwhelan authored Mar 21, 2018
1 parent 1afdaf0 commit 35c9ef1
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 35c9ef1

Please sign in to comment.