{"version":"2.1.281","anchor":"plugin-uninstall-cleanup-helper-returns-an-optionsdata-plan","canonical_anchor":"plugin-uninstall-cleanup-helper-returns-an-optionsdata-plan","heading":"Plugin uninstall cleanup helper returns an options\/data plan","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/plugin-uninstall-cleanup-helper-returns-an-optionsdata-plan","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Plugin uninstall cleanup helper returns an options\/data plan\n\nA new helper for plugin uninstalls removes the plugin's saved options and can also delete its data folder\n\n**Unclear.** The finding does not say whether any uninstall command already uses this helper.\n\n**What**\n\nA new helper cleans up after a plugin is uninstalled. It removes the options you saved for the plugin and can also delete the plugin's data folder. It reports back:\n\n- `optionsGone`\n\n- `dataGone`\n\n- `optionsNotGoneBecause`, a reason given when the options could not be removed\n\nIn this build the cleanup plan is always `options-and-folder`.\n\n**Why**\n\nUninstalling a plugin can remove its settings and data instead of leaving them on disk, and says what it did not manage to remove."}