Is there any way I can add a action to be executed after the user removes a widget from the sidebar? I didn’t find any action hooks for add_action() related to this 🙁
The widget I’m working on stores temporary data into the database and I need to attach a function that clears this data when the widget is removed.