Plugin licensing - How to disable modules of plugin?


I added licensing part to my plugin as described in this tutorial It works well.

However, I wanna disable plugin modules for invalid or expired licenses.

How can I do this?

Thanks for answers

1 answer

0 vote

Hi Bahar,

There should be a "Manage plugin modules" link under your license key field. You can see that on the screenshot of Step 8.11 of the tutorial you mentioned.

If you click there, a list of all the modules will be displayed and there should be a Disable button at the right side of the screen.

Please note that some modules cannot be disabled.

Hope this helps,

Marcus Silveira


Thanks marcus. Of course, I know how to disable a module. What I am trying to tell is disabling plugin from invalid plugin licences. How do I enforce users to get licence of plugin? I need to disable plugin in such cses: invalid licence, expried licence, etc.

Any ideas?

hi, @Bahar Çağlar have you found the answer? 
run into the same problem, could you help me with this

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Apr 10, 2018 in Marketplace Apps

Learn about how Stefan K. built one of the *first ever* Marketplace apps

In this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...

12,839 views 11 24
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you