WordPress.org

Support

Support » Plugins and Hacks » [Plugin & Widget dev] troubleshooting with wp_unregister_sidebar_widget

[Plugin & Widget dev] troubleshooting with wp_unregister_sidebar_widget

  • Hi everybody,

    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 !

  • The topic ‘[Plugin & Widget dev] troubleshooting with wp_unregister_sidebar_widget’ is closed to new replies.