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
//For changing add-to-cart button text on single product pages. | |
add_filter('single_add_to_cart_text', 'single_cart_button_text', ); | |
function single_cart_button_text() { | |
return __('Add to order', 'woocommerce'); | |
} | |
//For changing add-to-cart button text on category view pages |