WC_Customer::set_calculated_shipping()
Calculated shipping?
Метод класса: WC_Customer{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Customer = new WC_Customer(); $WC_Customer->set_calculated_shipping( $calculated );
- $calculated(true|false)
- If shipping is calculated.
По умолчанию: true
Код WC_Customer::set_calculated_shipping() WC Customer::set calculated shipping WC 9.8.2
public function set_calculated_shipping( $calculated = true ) { $this->calculated_shipping = wc_string_to_bool( $calculated ); }