Created
August 16, 2017 14:45
-
-
Save mjesusabarca/1536d6450503c5ae653dcc32bb4beba5 to your computer and use it in GitHub Desktop.
Custom redirect for users after clicking 'return to shop'
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
| // Custom redirect for users after clicking 'return to shop' | |
| add_filter('woocommerce_return_to_shop_redirect', 'bryce_wc_return_to_shop_redirect'); | |
| function bryce_wc_return_to_shop_redirect( $redirect ) { | |
| $redirect = 'http://google.com/'; | |
| return $redirect; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment