WordPress at a glance
function is not described

WC_Customer_Data_Store_Interface::get_last_order() public WC 1.0

Gets the customers last order.

{} It's a method of the class: WC_Customer_Data_Store_Interface{}

No Hooks.

Return

WC_Order|false.

Usage

$WC_Customer_Data_Store_Interface = new WC_Customer_Data_Store_Interface();
$WC_Customer_Data_Store_Interface->get_last_order( $customer );
$customer(WC_Customer) (required) (passed by reference — &)
Customer object.

Code of WC_Customer_Data_Store_Interface::get_last_order() WC 5.0.0

<?php
public function get_last_order( &$customer );