Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
715 views
in Plugins by

I was making a simple plugin in which I though to add an enable and disable checkbox for plugin in admin section. But I am unable to do that (my coding skills are not that good), can anyone tell how to do that via code. Here is the plugin I am making (just a simple one).

1 Answer

+1 vote
by

check plugin Mouseover Layer v1.0.1 to see how it is enabled/disabled. You may get idea. or check my plugin https://github.com/ProThoughts/q2a-simple-ads-manager, I'm enabling/disabling ad units.

by
Thanks for the answer @ProThoughts, I'll definitely check these.
...