WC_Order::get_shipping_phone
Get shipping phone.
Метод класса: WC_Order{}
Хуков нет.
Возвращает
Строку.
Использование
$WC_Order = new WC_Order(); $WC_Order->get_shipping_phone( $context );
- $context(строка)
- What the value is for. Valid values are view and edit.
По умолчанию:'view'
Список изменений
| С версии 5.6.0 | Введена. |
Код WC_Order::get_shipping_phone() WC Order::get shipping phone WC 10.6.2
public function get_shipping_phone( $context = 'view' ) {
return $this->get_address_prop( 'phone', 'shipping', $context );
}