Skip to content

Instantly share code, notes, and snippets.

@SiR-DanieL
Last active October 30, 2023 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SiR-DanieL/62c6fc704de39d66d77d5500ba0c8dd3 to your computer and use it in GitHub Desktop.
Save SiR-DanieL/62c6fc704de39d66d77d5500ba0c8dd3 to your computer and use it in GitHub Desktop.
How to Change the Continue Shopping Redirect URL
<?php
add_filter( 'woocommerce_continue_shopping_redirect', function() { return get_home_url(); } );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment