WC_Tax::init()public staticWC 1.0

Load options.

Method of the class: WC_Tax{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Tax::init();

WC_Tax::init() code WC 8.7.0

public static function init() {
	self::$precision         = wc_get_rounding_precision();
	self::$round_at_subtotal = 'yes' === get_option( 'woocommerce_tax_round_at_subtotal' );
}