WC_Order::set_billing_phone()publicWC 1.0

Set billing phone.

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

Хуков нет.

Возвращает

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

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

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

Код WC_Order::set_billing_phone() WC 8.7.0

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