WordPress.org

Forums

[resolved] Widget won’t un-register (2 posts)

  1. danls
    Member
    Posted 7 years ago #

    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

  2. danls
    Member
    Posted 7 years ago #

    I found the answer to the problem.

    http://wordpress.org/support/topic/86875?replies=6

Topic Closed

This topic has been closed to new replies.

About this Topic