WC_Customer::get_last_order
Gets the customers last order.
Method of the class: WC_Customer{}
No Hooks.
Returns
WC_Order|false.
Usage
$WC_Customer = new WC_Customer(); $WC_Customer->get_last_order();
WC_Customer::get_last_order() WC Customer::get last order code WC 10.6.2
public function get_last_order() {
return $this->data_store->get_last_order( $this );
}