Support » Plugin: Delete Me » What does the Uninstall option do?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author cmc3215


    When checked it removes the plugin’s stored settings and role capability from your WordPress installation when you click “Deactivate” on the WordPress plugins panel. I’ll also add that clicking “Delete” on the WordPress plugins panel performs the same task without the need for the box to be checked.

    I initially didn’t have an uninstall script to run when someone clicked “Delete” and instead relied on this option to clean up after the plugin should someone wish to deactivate and delete. I’ve since added the uninstall script making this option somewhat unnecessary. However, it may be used to reset the plugin without having to uninstall and reinstall. I myself use it for this purpose often during testing. I will likely replace this option with simply a button to reset the plugin to default state.

    Thank you. It shouldn’t be used if you have a lot of users creating and deleting their accounts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What does the Uninstall option do?’ is closed to new replies.