edd_get_payments( array $args = array() )
Get Payments
Description Description
Retrieve payments from the database.
Since 1.2, this function takes an array of arguments, instead of individual parameters. All of the original parameters remain, but can be passed in any order via the array.
$offset = 0, $number = 20, $mode = ‘live’, $orderby = ‘ID’, $order = ‘DESC’, $user = null, $status = ‘any’, $meta_key = null
As of EDD 1.8 this simply wraps EDD_Payments_Query
Parameters Parameters
- $args
-
(Optional) Arguments passed to get payments
Default value: array()
Return Return
(EDD_Payment[]) $payments Payments retrieved from the database
Source Source
File: includes/payments/functions.php
Changelog Changelog
Version | Description |
---|---|
1.0 | Introduced. |