WC_Tax::get_tax_total( array $taxes )

Sums a set of taxes to form a single total. Values are pre-rounded to precision from 3.6.0.


Description Description


Parameters Parameters

$taxes

(Required) Array of taxes.


Top ↑

Return Return

(float)


Top ↑

Source Source

File: includes/class-wc-tax.php

	public static function get_tax_total( $taxes ) {
		return array_sum( $taxes );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.