Skip to content

Commit

Permalink
Merge pull request #235 from TransbankDevelopers/fix/paymnet-token-cl…
Browse files Browse the repository at this point in the history
…ass-filter
  • Loading branch information
mastudillot authored May 29, 2024
2 parents 14825f4 + d1c30dc commit 8ac1add
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ public function __construct()
]);

add_filter('woocommerce_payment_methods_list_item', [$this, 'methods_list_item_oneclick'], null, 2);
add_filter('woocommerce_payment_token_class', [$this, 'set_payment_token_class']);
add_filter('woocommerce_payment_token_class', [$this, 'getOneclickPaymentTokenClass']);
add_action('woocommerce_update_options_payment_gateways_' . $this->id, [$this, 'process_admin_options']);
add_filter('woocommerce_saved_payment_methods_list', [$this, 'getOneclickPaymentTokenClass'], 10, 2);
add_filter('woocommerce_saved_payment_methods_list', [$this, 'get_saved_payment_methods_list'], 10, 2);
}

/**
Expand Down

0 comments on commit 8ac1add

Please sign in to comment.