Support » Fixing WordPress » Widget won’t un-register

  • Resolved danls

    (@danls)


    I’m trying to un-registar the search widget, so I can replace it with a custom one I’m making, but the un-register function doesn’t appear to work.

    I’m using the following bit of code on WordPress 2.2.2

    if (function_exists('unregister_sidebar_widget')){
       unregister_sidebar_widget('Search');
    }

    Can anyone shed light on why this isn’t working?

    Thanks,
    -Dan

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Widget won’t un-register’ is closed to new replies.