Created
September 5, 2020 14:43
-
-
Save clifgriffin/13db6c4e077c31b6d203551d840b46e5 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 | |
// Do NOT include opening PHP tag above (<?php) | |
// Add to: | |
// - functions.php in child theme | |
// - Code Snippets | |
// - Settings > CheckoutWC > Premium Features > PHP Snippets (for Growth and Developer plans) | |
add_filter( 'cfw_promo_code_mobile_heading', function() { | |
return __( 'Coupon code', 'checkout-wc' ); | |
} ); | |
add_filter( 'cfw_promo_code_label', function() { | |
return __( 'Coupon Code', 'checkout-wc' ); | |
} ); | |
add_filter( 'cfw_promo_code_placeholder', function() { | |
return __( 'Enter Coupon Code', 'checkout-wc' ); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment