Sarathlal N

Change Place Order button text in WooCommerce checkout page

In one of my recent WooCommerce customization, I want to change Place Order button text in checkout page. The WooCommerce have a filter, woocommerce_order_button_text and we are going to use this filter to change Place Order button text in Checkout page.

We just want to add below code snippet to our theme’s / child theme’s functions.php file.

add_filter( 'woocommerce_order_button_text', 'woo_custom_order_button_text' ); 

function woo_custom_order_button_text() {
	return __( 'Your new button text here', 'woocommerce' ); 
}

That’s enough.

Recent Posts

  1. Automating Release Generation with GitHub Actions
  2. WP CLI Commands to Bulk Delete Entries in WordPress Database
  3. Split a Single CSV File into Multiple Files Using the Split Command - Bash
  4. Migrating code repo from BitBucket to GitHub
  5. Streamlining Development - Our Journey with Git, Bitbucket, and Jira

Your Questions / Comments

If you found this article interesting, found errors, or just want to discuss about it, please get in touch.