Tag Archives: plugins

Generate activation or deactivation link of WordPress plugin

You often need an action link to activate or deactivate a plugin. How do you do that? I have written a simple function that can help you achieve this.

How to use? This function requires 2 parameters; first one is the plugin file name, and second one is action type. Plugin file name is…