[Solved] explanation for activate_plugin function in wordpress core
Sometimes the easiest way is to go to docs… Attempts activation of plugin in a “sandbox” and redirects on success. A plugin that is already activated will not attempt to be activated again. The way it works is by setting the redirection to the error before trying to include the plugin file. If the plugin … Read more