The Subscription for WooCommerce plugin allows the subscriber to suspend or cancel a subscription from their My Account page under subscription view in the My Subscription tab. The below code snippet allows you to hide the available actions (Suspend and Cancel) from the subscription view.
To achieve that simply add the below code snippet to the active child theme function.php.
Comments (2)
Brandon
January 3, 2021
The code that you say is there is not visible. Please add the code as I need to remove the ability for a user to suspend their account
Mark
January 6, 2021
Hi Brandon,
Sorry about that. It’s updated now.