WordPress at a glance
function is not described

WC_Abstract_Legacy_Order::get_total_shipping() public WC 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().

{} It's a 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.

Code of WC_Abstract_Legacy_Order::get_total_shipping() WC 5.0.0

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