Last active
May 26, 2017 15:44
-
-
Save mtruitt/392476a336a74385d21c5a1fb5a138fa to your computer and use it in GitHub Desktop.
WooCommerce - Continue Shopping Cart link
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 characters
| <?php | |
| add_action( 'woocommerce_before_cart_table', 'cart_continue_shopping_button' ); | |
| function cart_continue_shopping_button() { | |
| wc_print_notice( __( '<a class="button wc-backward" href="' . esc_url( apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ) ) . '" title="Continue Shopping" > ← Continue Shopping</a>')); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment