Created
July 17, 2014 13:25
-
-
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/
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 | |
// 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