Automattic\WooCommerce\Enums
TaxDisplayMode{}
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.
Хуков нет.
Использование
$TaxDisplayMode = new TaxDisplayMode(); // use class methods
Методы
Нет Методов у класса.Список изменений
| С версии 11.0.0 | Введена. |
Код TaxDisplayMode{} TaxDisplayMode{} WC 11.0.1
final class TaxDisplayMode {
/**
* Prices displayed including tax.
*
* @var string
*/
public const INCLUSIVE = 'incl';
/**
* Prices displayed excluding tax.
*
* @var string
*/
public const EXCLUSIVE = 'excl';
}