WordPress at a glance
function is not described

WC_Legacy_Customer::calculated_shipping() public WC 1.0

Calculated shipping.

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

No Hooks.

Return

Null. Nothing.

Usage

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->calculated_shipping( $calculated );
$calculated(true/false)
-

Code of WC_Legacy_Customer::calculated_shipping() WC 5.0.0

<?php
public function calculated_shipping( $calculated = true ) {
	wc_deprecated_function( 'WC_Customer::calculated_shipping', '3.0', 'WC_Customer::set_calculated_shipping' );
	$this->set_calculated_shipping( $calculated );
}