We build websites for you and your business. For more information and questions: +359 876 700 417

How to Remove Specific Product Tabs in WooCommerce


How to Remove Specific Product Tabs in WooCommerce

If you want to remove some of the product tabs on your WooCommerce website, you can manually add this functionality to your WordPress theme.

This small code snippet, will help you to remove specific product tabs in WooCommerce.

function wc_remove_product_tabs( $tabs ) {
   // remove the description tab
   unset( $tabs['description'] );
   // remove the reviews tab
   unset( $tabs['reviews'] );
   // remove the additional information tab
   unset( $tabs['additional_information'] );
   return $tabs;
add_filter( 'woocommerce_product_tabs', 'wc_remove_product_tabs', 99 );

To add the functionality manually, you will need to copy and paste this code snippet in to your functions.php file of your WordPress child theme.

IMPORTANT: Aways use a child theme in WordPress!

Programming, WordPress , ,
About Smarty Studio
Our greatest passion is to develop websites that are easy to access, handy and function flawlessly. With unstoppable curiosity and enthusiasm we constantly look for new ways to improve our skills and thus our services. And we sincerely have fun with what we do.