WC_Tax::init()
Load options.
Method of the class: WC_Tax{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WC_Tax::init();
WC_Tax::init() WC Tax::init code WC 9.4.2
public static function init() { self::$precision = wc_get_rounding_precision(); self::$round_at_subtotal = 'yes' === get_option( 'woocommerce_tax_round_at_subtotal' ); }