Created
April 22, 2024 13:28
-
-
Save xlplugins/12409e479e06a67ecbf4ca2ed847b222 to your computer and use it in GitHub Desktop.
change stripe express setting gateway description
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('woocommerce_get_settings_checkout',function ($settings, $current_section){ | |
if(isset($settings['section_title'])){ | |
$settings['section_title']= [ | |
'name' => __( 'Express Checkout', 'funnelkit-stripe-woo-payment-gateway' ), | |
'type' => 'title', | |
/* translators: HTML for the express checkout section heading */ | |
'desc' => sprintf( __( 'Accept payment using Apple Pay, Google Pay and Browser Payment using Express Buttons. | |
The visibility of these payment buttons is browser dependent. Click on "Test Visibility" button to see if your browser supports these button. | |
Learn more %1$1sabout the requirements%2$2s to show Apple Pay, Google Pay and Browser Payment method. Test', 'funnelkit-stripe-woo-payment-gateway' ), '<a href="https://stripe.com/docs/stripe-js/elements/payment-request-button#html-js-testing" target="_blank">', '</a>' ), | |
'id' => 'fkwcs_express_checkout', | |
]; | |
} | |
return $settings; | |
},11,2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment