Merge pull request #77 from mosu-forge/topic-plugin-conflict

modified woocommerce_gateway_icon filter to use two arguments
This commit is contained in:
cryptochangements34 2018-11-28 11:07:42 -05:00 committed by GitHub
commit 5064b95040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ class Monero_Gateway extends WC_Payment_Gateway
public function get_icon()
{
return apply_filters('woocommerce_gateway_icon', '<img src="'.MONERO_GATEWAY_PLUGIN_URL.'assets/images/monero-icon.png"/>');
return apply_filters('woocommerce_gateway_icon', '<img src="'.MONERO_GATEWAY_PLUGIN_URL.'assets/images/monero-icon.png"/>', $this->id);
}
function __construct($add_action=true)