Created
September 9, 2017 12:30
-
-
Save bahiirwa/81c5ab2ddba9b8349bf95ff2f7b21f07 to your computer and use it in GitHub Desktop.
Woocommerce change add to cart text
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 | |
add_filter('woocommerce_product_add_to_cart_text', 'wh_archive_custom_cart_button_text'); // 2.1 + | |
function wh_archive_custom_cart_button_text() | |
{ | |
return __('Place your order', 'nxgen_ug'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment