Created
February 28, 2019 20:08
-
-
Save LaurenaRehbein/a977fcc5705d3f1887303d9752fc6f86 to your computer and use it in GitHub Desktop.
Use this filter if you want customers to be redirected to a specific URL when they click "Continue Shopping"
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 | |
// 'Continue Shopping' button re-direct | |
add_filter('woocommerce_continue_shopping_redirect', 'lar_wc_continue_shopping_redirect'); | |
function lar_wc_continue_shopping_redirect( $redirect ) { | |
$redirect = 'http://yoururl.com/'; | |
return $redirect; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment