Advertisement
majeedraza

WooCommerce - Continue Shopping redirect

Jul 27th, 2018
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement