Can I use my own Open Source code in commercial software I&#39;m writing?
<p>If I release some code that I wrote myself with an Open Source license (a WordPress plugin with the GPL2 license, <a href="https://www.gnu.org/licenses/gpl-2.0.html" rel="nofollow noreferrer">https://www.gnu.org/licenses/gpl-2.0.html</a>), can I then use my own code in commercial software?</p>

<p>thanks</p>

<p>If it's your code (and you're not using someone else's released under a GPL version), you can release it as you like under what terms you like under whatever licenses you like.  There are no restrictions on what you can do.</p>

<p>One common model is to provide a "community edition" under the GPL and sell the right to use the software with a more commercial license to people who want to incorporate it in their closed-source software.  MySQL used this model for some time.</p>

copyright software licensing open-source-software gpl