Sunday, 13 August 2017

How to change the place order text on checkout page?

To change the button text on checkout page, you just have to add simple function in your functions.php in your WordPress theme. We will use add_action method to change the button text.
add_action( ‘woocommerce_order_button_text’, ‘my_custom_checkout_text’ );
function my_custom_checkout_text() {
return “Place My Order”;
}

No comments:

Post a Comment

Google Map Filter Api Example

Here is Google Map Filter Api Example: