How to Setup Item Activation Code for Wordpress Theme

I am a new wordpress theme author on themeforest.

I want to how can i setup activation code on my brand new created theme for wordpress.

It can setup before theme approve of after?

I don’t know if the same rules apply to ThemeForest items as CodeCanyone items, but my guess would be “yes”. On CodeCanyon, you can setup code activation feature before submitting your item.

If you need a solution to activate and deactivate your licenses in real time, check out the Auto PHP Licenser, which is used by other Envato authors too.