WooCommerce Code Reference

WC_Customer_Data_Store_Interface

Customer Data Store Interface

Tags
version
3.0.0

Table of Contents

get_last_order()  : WC_Order|false
Gets the customers last order.
get_order_count()  : int
Return the number of orders this customer has.
get_total_spent()  : float
Return how much money this customer has spent.

Methods