Skip to content

Instantly share code, notes, and snippets.

@cpaul007
Created June 8, 2022 14:05
Show Gist options
  • Save cpaul007/8b56e65a28db777db7041eace9262082 to your computer and use it in GitHub Desktop.
Save cpaul007/8b56e65a28db777db7041eace9262082 to your computer and use it in GitHub Desktop.
Change place order text
<?php //* do not include this line
add_filter( 'woocommerce_order_button_text', 'ouwoo_custom_place_order_text');
function ouwoo_custom_place_order_text( $button_text ) {
$button_text = "ENTERYOURTEXT";
return $button_text;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment