Eliminating widgets

There are alot of default widgets available in wordpress … and you rarely need them all. Here is a block of code that you can use in the functions file to eliminate ALL the widgets

Of course that’s going way too far, but it can be selectively applied: