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.
- Cart –
WC_Widget_Cart
- Active Product Filters –
WC_Widget_Layered_Nav_Filters
- Filter Products by Attribute –
WC_Widget_Layered_Nav
- Filter Products by Price –
WC_Widget_Price_Filter
- Product Categories –
WC_Widget_Product_Categories
- Product Search –
WC_Widget_Product_Search
- Product tag Cloud –
WC_Widget_Product_Tag_Cloud
- Products –
WC_Widget_Products
- Filter Products by Rating –
WC_Widget_Rating_Filter
- Recent Product Reviews –
WC_Widget_Recent_Reviews
- Recent Viewed Products –
WC_Widget_Recently_Viewed
- Products by Rating –
WC_Widget_Top_Rated_Products
Read also

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