Remove Unwanted Widgets in WooCommerce

Okay, now we continue with cleaning up WooCommerce admin from the unneeded stuff. In this tutorial I suppose that you or your client does not need all the default widgets that appear after you install the WooCommerce plugin.

And by the way – at the moment of creating this tutorial I didn’t find a list of default WooCommerce widget names anywhere over the internet, which of course surprised me. So I retrieve all the widget names directly from the code.

Let’s come back for a second to a key idea of deregistering a widget which is quite simple:

add_action( 'widgets_init', function(){
	unregister_widget('Widget_Class_Name_Here');
	unregister_widget('Another_Widget_Class_Name_Here');
});

Actually all you have to do is to run unregister_widget() function within widgets_init hook.

And here is the list of WooCommerce widgets.

Read also

Misha Rudrastyh

Misha Rudrastyh

Hey guys and welcome to my website. For more than 10 years I've been doing my best to share with you some superb WordPress guides and tips for free.

Need some developer help? Contact me

Follow me on X