Created
April 23, 2021 17:03
-
-
Save cartpauj/8691e79e33f8fd7ab054348d7bb9661c to your computer and use it in GitHub Desktop.
Hide cancel link in MP until user has been active for 3 months.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @photopop,
Keep in mind that this code will hide or show the Cancel button in the user Account → Subscriptions tab. It doesn't listen to click event so we can't check when the user cancels subscription.
If you want users to be able to cancel membership for 30 days after sign up you can change the code like this:
Hopefully, that helps.