[wp-hackers] Widget Save hook
otto at ottodestruct.com
Fri Mar 12 16:31:41 UTC 2010
On Fri, Mar 12, 2010 at 9:27 AM, Nathan Rice <ncrice at gmail.com> wrote:
> The update() method will work for what I need, fortunately. But it would be
> nice to have an actual hook that fires every time ANY widget is saved (kind
> of like the save_post hook).
There is. widget_update_callback. It's a filter hook which gets called
to filter the widget settings before they get saved.
Be careful with it. You can hork things up royal here.
More information about the wp-hackers