Метод | Описание | |
---|---|---|
get_last_order ( &$customer ) : WC_Order | false | Gets the customers last order. | |
get_order_count ( &$customer ) : integer | Return the number of orders this customer has. | |
get_total_spent ( &$customer ) : float | Return how much money this customer has spent. |
public get_last_order ( &$customer ) : WC_Order | false | ||
Результат | WC_Order | false |
public get_order_count ( &$customer ) : integer | ||
Результат | integer |
public get_total_spent ( &$customer ) : float | ||
Результат | float |