Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kartikparmar
Created June 13, 2020 16:52
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 kartikparmar/6268a6754b054c6b2bf636aecddcef1d to your computer and use it in GitHub Desktop.
Save kartikparmar/6268a6754b054c6b2bf636aecddcef1d to your computer and use it in GitHub Desktop.
Change Proceed to Checkout button
<?php
function woocommerce_button_proceed_to_checkout(){
?>
<a href="<?php echo esc_url( wc_get_checkout_url() ); ?>" class="checkout-button button alt wc-forward">
<?php esc_html_e( 'Proceed to Make Payment', 'woocommerce' ); ?>
</a>
<?php
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment