WC_Cart::set_fee_total( string $value )

Set fee amount.

Description Description

Parameters Parameters


(Required) Value to set.

Top ↑

Source Source

File: includes/class-wc-cart.php

	public function set_fee_total( $value ) {
		$this->totals['fee_total'] = wc_format_decimal( $value, wc_get_price_decimals() );

Top ↑

Changelog Changelog

Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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