Created
June 17, 2019 10:25
-
-
Save ChromeOrange/0da564ba0069c37268114d0e29ba438f to your computer and use it in GitHub Desktop.
Show surcharge options for SagePay Form in WooCommerce SagePay Form settings.
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_sagepayform_display_surcharges', 'enable_woocommerce_sagepayform_display_surcharges' ); | |
function enable_woocommerce_sagepayform_display_surcharges() { | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment