Automattic\WooCommerce\Enums

TaxDisplayMode{}finalWC 11.0.0

Enum class for the possible values of the woocommerce_tax_display_shop and woocommerce_tax_display_cart options, which control whether prices are shown including or excluding tax.

No Hooks.

Usage

$TaxDisplayMode = new TaxDisplayMode();
// use class methods

Methods

No Methods in class.

Changelog

Since 11.0.0 Introduced.

TaxDisplayMode{} code WC 11.0.0

final class TaxDisplayMode {
	/**
	 * Prices displayed including tax.
	 *
	 * @var string
	 */
	public const INCLUSIVE = 'incl';

	/**
	 * Prices displayed excluding tax.
	 *
	 * @var string
	 */
	public const EXCLUSIVE = 'excl';
}