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