WC_Abstract_Legacy_Order::get_total_shipping()publicWC 1.0

Deprecated from version 3.0.0 since this is an alias only.. It is no longer supported and can 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.

Return

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 8.6.1

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