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).
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.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.
April 20, 2021: Q2A 1.8.6 released!