WC_Customer::get_last_order()
Gets the customers last order.
Method of the class: WC_Customer{}
No Hooks.
Return
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 9.7.1
public function get_last_order() { return $this->data_store->get_last_order( $this ); }