WC_Customer::get_last_order()
Gets the customers last order.
Метод класса: WC_Customer{}
Хуков нет.
Возвращает
WC_Order|false
.
Использование
$WC_Customer = new WC_Customer(); $WC_Customer->get_last_order();
Код WC_Customer::get_last_order() WC Customer::get last order WC 9.8.2
public function get_last_order() { return $this->data_store->get_last_order( $this ); }