Created
March 1, 2018 07:05
-
-
Save zakirsajib/8dde0d34c7ab14ae422615ed5f249e76 to your computer and use it in GitHub Desktop.
Rename the "Have a Coupon?" message on the checkout page
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
function woocommerce_rename_coupon_message_on_checkout() { | |
return 'Har du en kupon?' . ' <a href="#" class="showcoupon">' . __( 'Klik her for at indtaste din kode', 'woocommerce' ) . '</a>'; | |
} | |
add_filter( 'woocommerce_checkout_coupon_message', 'woocommerce_rename_coupon_message_on_checkout' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment