WC_Customer::set_shipping_phone()publicWC 5.6.0

Set shipping phone.

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

Хуков нет.

Возвращает

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

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

$WC_Customer = new WC_Customer();
$WC_Customer->set_shipping_phone( $value );
$value(строка) (обязательный)
Shipping phone.

Список изменений

С версии 5.6.0 Введена.

Код WC_Customer::set_shipping_phone() WC 8.7.0

public function set_shipping_phone( $value ) {
	$this->set_address_prop( 'phone', 'shipping', $value );
}