WC_Legacy_Customer::set_shipping_to_base()publicWC 1.0

Set customer shipping address to base address.

Метод класса: WC_Legacy_Customer{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->set_shipping_to_base();

Код WC_Legacy_Customer::set_shipping_to_base() WC 8.7.0

public function set_shipping_to_base() {
	wc_deprecated_function( 'WC_Customer::set_shipping_to_base', '3.0', 'WC_Customer::set_shipping_address_to_base' );
	$this->set_shipping_address_to_base();
}