EDD_Payment_Stats
EDD_Stats Class
Description Description
This class is for retrieving stats for earnings and sales
Stats can be retrieved for date ranges and pre-defined periods
Source Source
File: includes/payments/class-payment-stats.php
Changelog Changelog
Version | Description |
---|---|
1.8 | Introduced. |
Methods Methods
- get_best_selling — Get the best selling products
- get_earnings — Retrieve earning stats
- get_earnings_by_range — Retrieve sales stats based on range provided (used for Reporting)
- get_sales — Retrieve sale stats
- get_sales_by_range — Retrieve sales stats based on range provided (used for Reporting)
- is_cacheable — Is the date range cachable