Added hooks to gateway icons
This commit is contained in:
parent
25c18161e2
commit
66f5a6768c
|
@ -12,8 +12,8 @@
|
|||
class woocommerce_bacs extends woocommerce_payment_gateway {
|
||||
|
||||
public function __construct() {
|
||||
$this->id = 'bacs';
|
||||
$this->icon = '';
|
||||
$this->id = 'bacs';
|
||||
$this->icon = apply_filters('woocommerce_bacs_icon', '');
|
||||
$this->has_fields = false;
|
||||
|
||||
// Load the form fields.
|
||||
|
|
|
@ -13,7 +13,7 @@ class woocommerce_cheque extends woocommerce_payment_gateway {
|
|||
|
||||
public function __construct() {
|
||||
$this->id = 'cheque';
|
||||
$this->icon = '';
|
||||
$this->icon = apply_filters('woocommerce_cheque_icon', '');
|
||||
$this->has_fields = false;
|
||||
|
||||
// Load the form fields.
|
||||
|
|
|
@ -15,7 +15,7 @@ class woocommerce_paypal extends woocommerce_payment_gateway {
|
|||
global $woocommerce;
|
||||
|
||||
$this->id = 'paypal';
|
||||
$this->icon = $woocommerce->plugin_url() . '/assets/images/icons/paypal.png';
|
||||
$this->icon = apply_filters('woocommerce_paypal_icon', $woocommerce->plugin_url() . '/assets/images/icons/paypal.png');
|
||||
$this->has_fields = false;
|
||||
$this->liveurl = 'https://www.paypal.com/webscr';
|
||||
$this->testurl = 'https://www.sandbox.paypal.com/webscr';
|
||||
|
|
|
@ -108,6 +108,7 @@ Yes you can! Join in on our GitHub repository :) https://github.com/woothemes/wo
|
|||
* Fix for adding sites in multisite
|
||||
* Dashboard chart now ignores 'pending' orders
|
||||
* Fixed dashboard report range
|
||||
* Added hooks to gateway icons
|
||||
|
||||
= 1.1.3 - 27/10/2011 =
|
||||
* Improved Force SSL Setting - now forces https urls for enqueued scripts and styles
|
||||
|
|
Loading…
Reference in New Issue