edd_count_sales_by_gateway( string $gateway_id = 'paypal', string $status = 'publish' )
Counts the number of purchases made with a gateway
Description Description
Parameters Parameters
- $gateway_id
-
(Optional)
Default value: 'paypal'
- $status
-
(Optional)
Default value: 'publish'
Return Return
(int)
Source Source
File: includes/gateways/functions.php
Changelog Changelog
Version | Description |
---|---|
1.6 | Introduced. |