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