Home › Forums › WoodMart support forum › Hide Additional Info tab from Single Product page › Reply To: Hide Additional Info tab from Single Product page
January 2, 2018 at 10:03 am
#31219
JuliaSan
Participant
Hello,
thanks, based on this article I put to custom JS the following:
add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_product_tabs’, 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs[‘additional_information’] );
return $tabs;
}
Unfortunately it does not hide the unnecessary tab… 🙁
Any idea what I am doing wrong?
Thanks,
Julia