lorro

WooCommerce - Continue Shopping redirect

Jul 27th, 2018
135
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