How to remove Swatches Settings from product tabs
-
Hi there
I have check your code
$tabs[ ‘woo-variation-swatches-pro’ ]
add_filter( ‘woocommerce_product_data_tabs’, ‘add_wvs_pro_preview_tab’ );
How to remove it?
function remove_linked_products($tabs){
unset($tabs[‘woo-variation-swatches-pro’]);
return($tabs);
}
add_filter( ‘woocommerce_product_data_tabs’, ‘remove_linked_products’, 10, 1 );
remove_filter( ‘woocommerce_product_data_tabs’, ‘add_wvs_pro_preview_tab’ );Both seems doesn’t work
Plase advice
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to remove Swatches Settings from product tabs’ is closed to new replies.