Skip to content

Instantly share code, notes, and snippets.

@NickGreen
Created February 15, 2021 16:24
Show Gist options
  • Save NickGreen/b9740bc7245a0dc3b669c753771864e5 to your computer and use it in GitHub Desktop.
Save NickGreen/b9740bc7245a0dc3b669c753771864e5 to your computer and use it in GitHub Desktop.
Return to shop link WooCommerce
<?php
add_filter( 'woocommerce_return_to_shop_redirect', function() { return '/shop'; });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment