PHP Интерфейс WC_Customer_Data_Store_Interface

Functions that must be defined by customer store classes.
Автор: WooThemes
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

get_last_order() публичный Метод

Gets the customers last order.
public get_last_order ( &$customer ) : WC_Order | false
Результат WC_Order | false

get_order_count() публичный Метод

Return the number of orders this customer has.
public get_order_count ( &$customer ) : integer
Результат integer

get_total_spent() публичный Метод

Return how much money this customer has spent.
public get_total_spent ( &$customer ) : float
Результат float