WC_Tax::init()
Load options.
Метод класса: WC_Tax{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$result = WC_Tax::init();
Код WC_Tax::init() WC Tax::init WC 9.5.1
public static function init() { self::$precision = wc_get_rounding_precision(); self::$round_at_subtotal = 'yes' === get_option( 'woocommerce_tax_round_at_subtotal' ); }