WC_Customer::set_shipping_phone()publicWC 5.6.0

Set shipping phone.

Method of the class: WC_Customer{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Customer = new WC_Customer();
$WC_Customer->set_shipping_phone( $value );
$value(string) (required)
Shipping phone.

Changelog

Since 5.6.0 Introduced.

WC_Customer::set_shipping_phone() code WC 9.4.2

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