-
-
Save NiklasHogefjord/30c1327c33cfbab2b770a3cbeffdb3af to your computer and use it in GitHub Desktop.
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
<?php | |
// Remove Select another payment button from default area | |
remove_action( 'kco_wc_after_order_review', 'kco_wc_show_another_gateway_button', 20 ); | |
// Insert Select another payment button right before Klarna Checkout iframe | |
add_action( 'kco_wc_before_snippet', 'kco_wc_show_another_gateway_button', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment