WC_Order::set_shipping_phone
Set shipping phone.
Method of the class: WC_Order{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Order = new WC_Order(); $WC_Order->set_shipping_phone( $value );
- $value(string) (required)
- Shipping phone.
Changelog
| Since 5.6.0 | Introduced. |
WC_Order::set_shipping_phone() WC Order::set shipping phone code WC 10.5.0
public function set_shipping_phone( $value ) {
$this->set_address_prop( 'phone', 'shipping', $value );
}