WordPress at Your Fingertips
function is not described

WC_Cart::set_fee_taxes() public WC 3.2.0

Set taxes.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Cart = new WC_Cart();
$WC_Cart->set_fee_taxes( $value );
$value(array) (required)
Tax values.

Changelog

Since 3.2.0 Introduced.

Code of WC_Cart::set_fee_taxes() WC 5.6.0

public function set_fee_taxes( $value ) {
	$this->totals['fee_taxes'] = (array) $value;
}