WordPress at Your Fingertips
function is not described

WC_Abstract_Order::set_shipping_total() public WC 1.0

Set shipping_total.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->set_shipping_total( $value );
$value(string) (required)
Value to set.

Code of WC_Abstract_Order::set_shipping_total() WC 5.8.0

public function set_shipping_total( $value ) {
	$this->set_prop( 'shipping_total', wc_format_decimal( $value ) );
}