WordPress at Your Fingertips
function is not described

WC_Tax::get_tax_total() public WC 1.0

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

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

No Hooks.

Return

float.

Usage

$result = WC_Tax::get_tax_total( $taxes );
$taxes(array) (required)
Array of taxes.

Code of WC_Tax::get_tax_total() WC 5.9.0

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