How to Uninstall a WordPress Plugin

WordPress makes plugin deactivation simple enough — just go to the “Plugins” section, find the plugin, and then click “Deactivate.” But what if you want to get rid of a plugin for good? Here’s how:

  1. Check for an uninstaller — If the plugin has administration pages, check them to see if the plugin has an uninstallation routine. If so, running it should clear out the plugin’s database tables and settings, which you won’t be needing anymore if you don’t plan on using the plugin again.

  2. Deactivate the plugin — Go to the “Plugins” section, find the plugin, and then click “Deactivate.”

  3. Check for plugin calls — Now browse around your site and see if anything broke. If so, follow the instructions in this post: What to Do if Plugin Deactivation Breaks Your Blog.

  4. Delete the plugin files — Using an FTP program, delete the plugin’s folder and/or file.

You may also want to check out the Clean Options plugin. I can’t vouch for it, since I haven’t used it, but it claims to be able to find any options table entries that the plugin may have left behind.

Did you enjoy this post? to get even more WordPress tips, news, and resources!

StumbleUpon

3 Comments

  1. Posted May 26, 2008 at 1:46 pm | Permalink

    1. Delete the plugin files/directory. This will take care of steps 2 & 4.

  2. Posted May 26, 2008 at 1:52 pm | Permalink

    @Ozh: Just deleting the plugin files won’t fire any deactivation hooks though; step 2 may still necessary be for a complete uninstall.

  3. Posted May 27, 2008 at 1:41 pm | Permalink

    You’re right, yet properly coded deactivation hooks shouldn’t do anything regarding uninstallation (you can deactivate a plugin and don’t want to uninstall it, like when upgrading a blog)

    To be honest I’ve never seen any actually useful deactivation hook :)

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*