WordPress at Your Fingertips
function is not described

WC_Tax::init() public WC 1.0

Load options.

{} It's a method of the class: WC_Tax{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Tax::init();

Code of WC_Tax::init() WC 5.9.0

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