[wp-hackers] wp-hackers Digest, Vol 65, Issue 66

Curtis McHale curtis at curtismchale.ca
Mon Jun 28 15:36:43 UTC 2010

When a plugin goes to uninstall it should present the option to the user 
about removing options stored in the database. It would be great if it 
could offer the user a downloadable copy of those options as well just 
in case they want to use it again at a later date. It would be wonderful 
if WordPress had this built in so that plugin authors could just call 
the function to get the feature.

It would also be a great if themes could do the same thing.

scribu wrote:
> On Mon, Jun 28, 2010 at 3:34 PM,<chip at chipbennett.net>  wrote:
>> Can themes also take advantage of the delete hook, via functions.php?
> No, register_uninstall_hook() only works for plugins.

Curtis McHale


More information about the wp-hackers mailing list