#5882
Vladimir
Keymaster

Try to add this line to your code:


remove_action( 'woocommerce_product_write_panel_tabs', array( $GLOBALS['Product_Addon_Admin'], 'tab' ) );

“Product addons” hooks its code somewhere later when ‘woocommerce_product_data_tabs’ filter executed. Thus ‘addons’ tab is not available for manipulation at that moment.