Forked from BurlesonBrad/move-proceed-to-checkout.php
Created
September 8, 2017 20:34
-
-
Save danest/88e16c323a5708c42e787eec379c875f to your computer and use it in GitHub Desktop.
Revisions
-
BurlesonBrad revised this gist
Mar 12, 2016 . No changes.There are no files selected for viewing
-
BurlesonBrad created this gist
Oct 19, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ add_action( 'woocommerce_cart_actions', 'move_proceed_button' ); function move_proceed_button( $checkout ) { echo '<a href="' . esc_url( WC()->cart->get_checkout_url() ) . '" class="checkout-button button alt wc-forward" >' . __( 'Proceed to Checkout', 'woocommerce' ) . '</a>'; }