Hide tabs on woocommerce product editor for user role

The $tabs will return an array. Before the line return $tabs; you should check the key in the array and unset it. You can use var_dump to check what the array contains if you’re unsure of the key name.