Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save danest/88e16c323a5708c42e787eec379c875f to your computer and use it in GitHub Desktop.
Save danest/88e16c323a5708c42e787eec379c875f to your computer and use it in GitHub Desktop.

Revisions

  1. @BurlesonBrad BurlesonBrad revised this gist Mar 12, 2016. No changes.
  2. @BurlesonBrad BurlesonBrad created this gist Oct 19, 2015.
    4 changes: 4 additions & 0 deletions move-proceed-to-checkout.php
    Original 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>';
    }