I am developing a commercial wordpress plugin. There is a form module that i have to develop however, i found one already built under GPL2 here


All other modules are developed by me, i just wanted to integrate this form module in it. Can i sell my application if i use this?

1 Answer 1


No version of the GPL forbids selling software. If you're merging other software with it, the whole thing has to be under GPLv2, so other people can use and distribute it as they like, and you need to provide source code. This may not fit your business model.

  • I have someone saying otherwise on quora quora.com/…. I am really confused now.
    – Abdullah Khan
    Jul 27, 2018 at 21:19
  • 2
    @AbdullahKhan quora says the same thing. You can integrate and sell it, but you can't keep anyone you sell it to from giving it away for free.
    – dsolimano
    Jul 27, 2018 at 22:39
  • @dsolimano but do i have to open source all my modules? I mean by terms of license i should only open source what is under GPLv2 so i am not liable to open source the modules those i developed myself. Am i right? Jul 28, 2018 at 8:18
  • @AbdullahKhan If your code is derived from GPLv2 code (e.g. by using GPLv2 modules) then you can only publish your code under the terms of the GPLv2. So yes, you must provide the source code without restrictions to anyone who legally obtains a copy of your software. This still doesn't prevent you from selling your software, although it's a less attractive business model. All Wordpress plugins have this dilemma, most solve it by not selling the plugin itself but by selling updates, support, or other external services.
    – amon
    Jul 28, 2018 at 8:55
  • Well! i am looking at it from wordpress perspective and how other sellers are doing business. Apparently, wordpress itself is licensed under GPL and that means every plugin that is created for wordpress platform should be licensed under GPL. I happened to see Gravity-forms (A paid plugin) license and its GNU. Well, the nature of wordpress platform is such that there is no way you can hide your code even if you wanted to. So i guess i will follow your advice and put my effort in support and updates department. Jul 29, 2018 at 22:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.