Woocommerce: How to remove product panel tabs from admin panel

In this tutorial; We’ll learn how to remove product panel tabs on product creation/edition tab at the admin panel of Woocommerce.

First of all, Go to admin panel of your site and click on products menu link. From here click on any product to edit it or create a new product by clicking on Add New button.

Here you will see following product panel tabs:


We can remove any or all of these tabs.

To do this add the following lines of code at the end of your theme’s functions.php file:

function remove_linked_products($tabs){









add_filter('woocommerce_product_data_tabs', 'remove_linked_products', 10, 1);

Place the code at the end of functions.php file and click on update file button to save it.

This code will remove all panel tabs.

If you don’t want to remove any tab, Just “comment out” that line of Code from the above code and It will not be removed.

For example: <?php // unset($tabs[‘inventory’]); ?>   (This is how We can comment php code)

Editorial Staff

ThemeLocation Provides Wordpress & Woocommerce development & Customization services. Have a Project? Contact To discuss

One thought on “Woocommerce: How to remove product panel tabs from admin panel

Leave a Reply

Your email address will not be published. Required fields are marked *