[wp-hackers] widgets - uninstall
admin at oxymaniac.com
Tue Apr 13 14:44:22 UTC 2010
u shuld use the delete_option function for that
On Tue, Apr 13, 2010 at 7:53 PM, Rich Pedley <elflop at googlemail.com> wrote:
> I'm actually testing in 3.0 beta, but I assume this would apply to 2.9 as
> In my plugin I registered a widget, on uninstall I would like to
> remove reference to those widgets from the database. So how am I
> supposed to do this?
> I've tried:
> neither of which appear to actually remove the data from the options
> table, the widget itself obviously disappears from the widgets page,
> but the data still appears in the database.
> So what have I missed?
> (I use a custom uninstall routine rather than the default WP uninstall
> for plugins - in case that make any difference)
> my mind is on a permanent tangent
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers