Turning off the WooCommerce Subscriptions single subscription redirect

Background, I have an application where I always want to show the My Account -> Subscriptions page, as I have information on the page that I need to show at all times.. In some instances, WooCommerce Subscriptions will automatically redirect a user to their single subscription (when they only have one).

To remove this behavior, use this filter


view raw


hosted with ❤ by GitHub