×

 

Home Contact Us Payments SC Commerce SC Commerce Docs SC Commerce Snippets

Simply Computing

We make websites. Simple.

Remove additional information tab

If you don’t have anything to display in the additional information area the tab can be removed with the code below.

		/**
 * Remove additional information tab on single product page
 */

add_filter('woocommerce_product_tabs', 'sc_woo_remove_product_tabs', 98);

function sc_woo_remove_product_tabs($tabs) {

  unset($tabs['additional_information']); 
  return $tabs;

}
	
   View Raw Code ID: 91064