WC_Legacy_Customer::calculated_shipping( boolean $calculated = true )
Calculated shipping.
Description Description
Parameters Parameters
- $calculated
-
(Optional)
Default value: true
Source Source
File: includes/legacy/class-wc-legacy-customer.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 ); }