Home › Forums › WoodMart support forum › How do I remove Description & Additional Information › Reply To: How do I remove Description & Additional Information
March 24, 2021 at 11:07 am
#275999
dido76bg
Participant
If you want to remove it from all your single products pages it is possible to be done by css or function.
If you want to remove it from a specific single product/s page it is posibble to be done only by function.
Add this in your child theme functions file:
function woo_remove_custom_product_tabs( $tabs ) {
unset( $tabs[‘description’] );
unset( $tabs[‘additional_information’] );
return $tabs;
}
add_filter( ‘woocommerce_product_tabs’, ‘woo_remove_custom_product_tabs’, 98 );
With css – just set display:none;