Modify the redirect in EDD Hide Download

EDD Hide Download has been updated to v1.1.5 and included is a new filter for redirecting the user when a download is set to Disable direct access to this download.

This means that instead of just redirecting to the site’s homepage, you can now specify a completely different page or URL. You can even redirect on a per download basis.

Copy and paste the function you need into your child theme’s functions.php or a custom plugin.

Change the global redirect:

Redirect the user on a per download basis:

3 thoughts on “Modify the redirect in EDD Hide Download”

Leave a Reply

Your email address will not be published. Required fields are marked *