WC_Legacy_Customer::calculated_shipping()publicWC 1.0

Calculated shipping.

Method of the class: WC_Legacy_Customer{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->calculated_shipping( $calculated );
$calculated(true|false)
-
Default: true

WC_Legacy_Customer::calculated_shipping() code WC 8.9.0

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 );
}