Please delete your data from DB on uninstall

[ad_1]

Due to WordPress plugins handbook recommended to remove options from _options table. (Here is the link https://developer.projectdmc.org/plugins/plugin-basics/uninstall-methods/ ).

Your plugin may need to do some clean-up when it is uninstalled from a site.

A plugin is considered uninstalled if a user has deactivated the plugin, and then clicks the delete link within the WordPress Admin.

When your plugin is uninstalled, you’ll want to clear out any plugin options and/or settings specific to the plugin, and/or other database entities such as tables.

Less experienced developers sometimes make the mistake of using the deactivation hook for this purpose.

But your plugin leave a lot of junk inside _options table!! This is not good. I don’t want trash in my DB when I don’t want the plugin anymore (uninstalled).

So, please delete them on plugin uninstall OR at least has an option (button) to manually delete them before uninstall.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer