WC_Abstract_Legacy_Order::get_total_shippingpublicWC 1.0

Deprecated since 3.0.0 since this is an alias only.. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Gets shipping total. Alias of WC_Order::get_shipping_total().

Method of the class: WC_Abstract_Legacy_Order{}

No Hooks.

Returns

float.

Usage

$WC_Abstract_Legacy_Order = new WC_Abstract_Legacy_Order();
$WC_Abstract_Legacy_Order->get_total_shipping();

Changelog

Deprecated since 3.0.0 since this is an alias only.

WC_Abstract_Legacy_Order::get_total_shipping() code WC 10.8.1

public function get_total_shipping() {
	return $this->get_shipping_total();
}