mirror of
https://github.com/invite-frey/is-woo-payment-fps.git
synced 2025-04-04 21:40:43 +00:00
Invalid index bug fixed
This commit is contained in:
parent
3722338708
commit
4b60d7f9ed
@ -59,7 +59,7 @@ function its_wpf_add_class( $methods ){
|
||||
|
||||
add_filter('woocommerce_available_payment_gateways', 'its_wpf_pay_order_label');
|
||||
function its_wpf_pay_order_label($gateways) {
|
||||
if($gateways[ITS_WPF_PLUGIN_ID]) {
|
||||
if(!empty($gateways[ITS_WPF_PLUGIN_ID])) {
|
||||
$gateways[ITS_WPF_PLUGIN_ID]->order_button_text = __('Confirm FPS Payment Completed',ITS_WPF_PLUGIN_ID);
|
||||
}
|
||||
return $gateways;
|
||||
|
Loading…
Reference in New Issue
Block a user