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()


Top ↑

Return Return

(EDD_Payment[]) $payments Payments retrieved from the database


Top ↑

Source Source

File: includes/payments/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.