Perhaps you’ve installed multiple plugins but only use one or two regularly. You’ve disabled the rest and they’re just taking up space in your files and database. If you’d like, you can choose to delete those plugins entirely which will remove them from your system completely. To do so, follow these steps:
In your Admin Panel navigate to Manage > Packages & Plugins.
If the plugin has a “delete” option, click that to delete it. Otherwise, click “disable” to disable the plugin.
When making changes to your site that result in updates to your files and/or database, it’s always a good idea to make a backup first, in case something goes wrong. Instructions on backing up your site can be found in this article
Open the Cpanel/Database of your site, open the table "engine4_core_modules", and delete the row corresponding to the plugin. Or, just run the following query:
DELETE FROM `engine4_core_modules` WHERE `engine4_core_modules`.`name` = 'MODULE-NAME' LIMIT 1
Note that simple widgets and plugins might not have database entries. If you don’t find your widget or plugin in the database, simply continue to the next steps.
Open your site via FTP and do the following:
Note that simple widgets or plugins might not have files in the above locations.
Note: This step requires some mySQL knowledge. It is optional and it will not affect your website if you decide to skip this step.
When you uninstall a plugin, it may leave behind some database rows or tables, leaving you with a cluttered database. You can remove these by opening the /application/modules/MODULE-NAME/settings/mysql file and undoing all the queries written in that file that pertain to the plugin you have uninstalled.
During the installation process, each module can execute several SQL queries in the settings/mysql file (such as Create, Insert, etc). If you intend to remove that information from your database, you should identify each query that’s been executed and undo or remove the data that was added as a result. For example, if a Create Table query had been run, you will need to delete the table that was created. Likewise, if there was an Insert query, whichever rows were inserted will need to be removed from the database.
That’s all, you’re done! The plugin is now deleted from your site. It’s a good idea to flush your site cache after deleting plugins.
Note: Once you have uninstalled a plugin and/or deleted its files, it is not possible to recover it. If you want to use the plugin again, you can always re-download and reinstall it at any point in the future.
Great work! Please feel free to contact us if you have any questions or need further tutorials. Visit our community to have more interactions with us and other clients or third party developers. We’d love to see you there.