WC_Customer::set_shipping_phone
Set shipping phone.
Method of the class: WC_Customer{}
No Hooks.
Returns
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() WC Customer::set shipping phone code WC 10.5.0
public function set_shipping_phone( $value ) {
$this->set_address_prop( 'phone', 'shipping', $value );
}