WooCommerce Code Reference

WC_Customer_Data_Store_Interface

WC Customer Data Store Interface

Functions that must be defined by customer store classes.

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