How To Remove Buttons From WooCommerce Subscription Subscriber View

Published: 6 months ago

The WooCommerce Subscription plugin is a powerful tool for creating subscription-based products. It allows you to sell monthly, quarterly, or yearly subscriptions and offer your customers the option of changing their plan at any time. The only downside to this plugin is that it automatically includes all options (such as a cancel button) in the customer dashboard. In this post, we will show you how to remove buttons from WooCommerce Subscription subscriber view!

For us, the main use case here is to remove the cancel button, and only have a "suspend" button. This ensures that the subscription will only go on hold. If the customer changes their mind in the future, all they need to do is unsuspend. No need to talk with support.

Simply add this code to Advanced Scripts, Functions.php, or a custom plugin. Use the "Case" lines to remove buttons. Delete the ones that you don't need, un comment out the ones that you do need.

Join Our Newsletter
Here's what you get: A once a week newsletter that contains original content, aggregated posts, WordPress deals, and anything else we think you'd like. We don't spam or sell your email address. Unsub at any time.
Notify of
Inline Feedbacks
View all comments
IsoGroup- Web Dev/Design, WordPress and More

Affiliate Disclosure: Some links on this website are affiliate links. We make commissions for purchases made through those links.

We only recommend items/tools that we've personally used and like.

Full Disclosure | FTC Statement

Join Our Newsletter
Over 4,000 Design Lovers and Problem Solvers.


A relationship driven website creation company.


© ISOTROPIC, LLC 2016-2021
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram