WC_Legacy_Customer::calculated_shipping()
Calculated shipping.
Метод класса: WC_Legacy_Customer{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Legacy_Customer = new WC_Legacy_Customer(); $WC_Legacy_Customer->calculated_shipping( $calculated );
- $calculated(true|false)
- -
По умолчанию: true
Код WC_Legacy_Customer::calculated_shipping() WC Legacy Customer::calculated shipping WC 9.3.3
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 ); }