Modify the go daddy enhanced checkout button text
-
I am trying to modify the go daddy enhanced checkout button text. It currently says “Pay Now” and I would like to adjust that. I’m ignorant to this but here is the html code I copied. I am wondering if someone can translate this to a PHP function I can copy into my wordpress theme file editor?
<button class="gd-btn gd-bg-primary gd-border-primary w-full" type="button" id="gd-checkout-pay-button">Pay Now</button>
I originally typed in the below which works when go daddy enhanced checkout is disabled. However, I like to keep the go daddy enhanced checkout as it is a clean look. I even tried to find the code snippet in the go daddy enhanced checkout plugin files…
function my_custom_checkout_button_text() { return 'My Custom Text'; } add_filter( 'woocommerce_order_button_text', 'my_custom_checkout_button_text' );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.