Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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