[wp-hackers] Widget Save hook

John Blackbourn johnbillion+wp at gmail.com
Fri Mar 12 00:38:23 UTC 2010

You can use the update() method of the widget class for this. It's
called whenever the widget is saved, which includes the first time
it's dropped into a sidebar.

See the update() function on http://codex.wordpress.org/Widgets_API .


On Thu, Mar 11, 2010 at 11:57 PM, Nathan Rice <ncrice at gmail.com> wrote:
> Is there a hook that fires whenever a user saves a widget (drags a widget to
> a widget area, or clicks the save button in a widget)???
> ------------------
> Nathan Rice
> WordPress and Web Development
> www.nathanrice.net | twitter.com/nathanrice
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list