I need to remove the below tabs from the product data 1- 'Get more option' Tab 2- 'woocommerce tab' 3- Upsell 4- Cross-sell As shown in the screenshot https://prnt.sc/pp1oyy
I wrote the below function but not working
function remove_tab($tabs){
unset($tabs['get_more_options']); // it is to remove general tab
unset($tabs['woocommerce_tab']); // it is to remove variations tab
return($tabs);
}
add_filter('woocommerce_product_data_tabs', 'remove_tab', 10, 1);