I have a problem with plugin (widget) development in wordpress.
Indeed, I want to execute an action when user remove a widget from a sidebar in the admin appearance panel but I don't have any results, I think wordpress don't execute my function.
For more informations, I have this code in my plugin file :
add_action ('wp_unregister_sidebar_widget', array ($PressReviewer, 'removeFromSidebar'));
Someone can help me, please ?
Tank you ! And have a nice day !