WC_Cart::set_shipping_total( string $value )

Set shipping_total.


Description Description


Parameters Parameters

$value

(Required) Value to set.


Top ↑

Source Source

File: includes/class-wc-cart.php

	public function set_shipping_total( $value ) {
		$this->totals['shipping_total'] = wc_format_decimal( $value, wc_get_price_decimals() );
	}

Top ↑

Changelog 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.