Skip to content

Instantly share code, notes, and snippets.

@aderaaij
Created July 17, 2014 13:25
Show Gist options
  • Save aderaaij/7631004a997e21c7adc6 to your computer and use it in GitHub Desktop.
Save aderaaij/7631004a997e21c7adc6 to your computer and use it in GitHub Desktop.
Changes link destination of 'Continue Shopping' button on cart page http://webandtechstuff.com/continue-shopping-button-woocommerce-cart/
<?php
// Changes link destination of 'Continue Shopping' button on cart page
add_filter( 'woocommerce_continue_shopping_redirect', 'my_custom_continue_redirect' );
function my_custom_continue_redirect( $url ) {
return 'http://mydomain.com/url';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment