The first thing people usually do when they install WordPress is to look for plugins they need and to install them. But, in time, people realize what is best for them and which plugins they truly need. Once you realize that, it’s important that you remove the ones that you don’t need. But how do you that? How do you uninstall plugins in WordPress? It’s actually quite simple.
First, you need to go to the plugins page. There, you should deactivate the plugins that you don’t want to use. All the plugins that are inactive in your WordPress will have a link below them that will allow you to activate them again, edit them, or delete them. Logically, you should click on delete beneath the plugins that you want to remove. Then, just confirm your decision, and that’s that. You have uninstalled the plugin from your WordPress.
After you have uninstalled your plugins, there are some more things you can do to completely remove it from your website. But, keep in mind that you don’t have to do this, and that it is not as simple as just uninstalling the plugins.
Sometimes, it happens that uninstalling a plugin won’t completely remove all its files. There are some plugins for WordPress that store their files outside of the plugins folder, and if you use them, additional steps will be needed to completely remove them. Use a FTP client to see those files and delete them. By using the FTP client, go to /wp-content/ folder. From there, you should have no problem.
Another thing that can happen is the shortcodes that were used by the plugins become visible after the plugins have been uninstalled, and that never looks pretty. You should remove them as soon as you can. One thing you can do to make those shortcodes not visible is to add this line of code add_shortcode( ‘pluginshortcode’, ‘__return_false’ ); into the site-specific plugin for WordPress. When you do that, the shortcode will not be displayed. One thing to remember is that when you want to use that plugin again, you need to remove this line of code.
Lastly, it can happen that certain plugins create tables in the WordPress database. You should be cleaning your database of those tables. They can be deleted through the phpMyadmin. But, you need to remember that making changes to your WordPress database can be very risky, and you need to make sure that you have a complete backup before doing anything.
Log into your cPanel and then go to the database. By doing that, you will find the phpMyAdmin. It’s an icon, and once you click on it, the phpMyAdmin will be opened. Then, you will have to click on the database, and then select all the tables that you need to remove. Look under the list of the tables, and there will be a drop down named “with selected”. Then, once you click on the drop down, select drop.
A warning will appear on your screen warning you about deleting the tables, and then just confirm the action. Once you delete them, you won’t be able to return them. That, of course, unless you have backed them up.