Skip to content

Instantly share code, notes, and snippets.

@dryan1144
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dryan1144/4d9d8c3f6802f13ec3fa to your computer and use it in GitHub Desktop.
Save dryan1144/4d9d8c3f6802f13ec3fa to your computer and use it in GitHub Desktop.
<?php
/*
Change Place Order button text on checkout page in woocommerce
*/
add_filter('woocommerce_order_button_text','custom_order_button_text',1);
function custom_order_button_text($order_button_text) {
$order_button_text = 'Complete Checkout';
return $order_button_text;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment