daily pastebin goal
79%
SHARE
TWEET

WooCommerce - Continue Shopping redirect

lorro Jul 27th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // WooCommerce - Continue Shopping redirect
  3. add_filter( 'woocommerce_continue_shopping_redirect', 'custom_continue_shopping_redirect', PHP_INT_MAX );
  4. function custom_continue_shopping_redirect() {
  5.   return 'http://my-site.com/shop/';
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top