Hello,
I am trying to change the text of the “place order” button in WooCommerce. I am using the following in my functions.php file…
add_filter( ‘woocommerce_order_button_text’,
‘woo_custom_order_button_text’);
function woo_custom_order_button_text() {
return __( ‘Donate Now’, ‘woocommerce’ );
}
I can see the button change for a split second on page load then it returns to the original text. Is there something in xtheme that is overriding my changes?
I have found this topic to be helpful in the past but can’t get it to work in this situation.
Any help would be appreciated!
Thanks!