• I’m trying to find a hook or set of hooks to apply action whenever the dynamic sidebars are updated, but there doesn’t seem to be enough hooks to cover all scenarios.

    The only thing I could find is ‘widget_update_callback’, which is only called when individual widget options are changed, but I can’t find anything that is triggered when the widget display order is changed or when a widget is removed from a sidebar altogether.

    Does anybody know of any additional hooks I can use?

Viewing 1 replies (of 1 total)
  • rukbat

    (@rukbat)

    Hi, I think update_option_sidebars_widgets could be a good choice. This hook seems to be triggered when widgets are moved or removed from sidebars…

Viewing 1 replies (of 1 total)
  • The topic ‘Is there no hook for when a widget is removed from a sidebar?’ is closed to new replies.