[wp-hackers] Leaving no trace in plugins

Andrew Nacin wp at andrewnacin.com
Mon Jun 28 03:11:02 UTC 2010


On Sun, Jun 27, 2010 at 11:03 PM, Michael Pretty <mpretty at voceconnect.com>wrote:

> I've seen a lot of discussions on the list mentioning to leave no trace
> when your plugin is deactivated by removing any options the plugin may have
> added to the options table.  The problem with doing this is that users may
> deactivate a plugin for reasons other than removing it permanently


http://codex.wordpress.org/Function_Reference/register_uninstall_hook
<http://codex.wordpress.org/Function_Reference/register_uninstall_hook>
http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7#Uninstall_Plugin_API


More information about the wp-hackers mailing list