EDD_Payment_Stats::get_best_selling( int $number = 10 )
Get the best selling products
Description Description
Parameters Parameters
- $number
-
(Optional) The number of results to retrieve with the default set to 10.
Default value: 10
Return Return
(array) List of download IDs that are best selling
Source Source
File: includes/payments/class-payment-stats.php
Changelog Changelog
Version | Description |
---|---|
1.8 | Introduced. |