Removed old code in favor of wc_tax_enabled() and wc_prices_include_tax()