Answers for "Removing the additional information tab using PHP code snippet"

PHP
0

Removing the additional information tab using PHP code snippet

/** Remove product data tabs */
 
add_filter( 'woocommerce_product_tabs', 'my_remove_product_tabs', 98 );
 
function my_remove_product_tabs( $tabs ) {
  unset( $tabs['additional_information'] ); // To remove the additional information tab
  return $tabs;
}
Posted by: Guest on May-03-2022

Code answers related to "Removing the additional information tab using PHP code snippet"

Browse Popular Code Answers by Language