Commission
For loop type edd_commission
, here are the query parameters and fields.
Query parameters
date_paid
- Filter by date paid in Y-M-D format, "today", "X days ago" and other values compatible with strtotime()
Type: stringdate_paid_compare
- Date paid comparison - One of: "before", "before_inclusive", "after", "after_inclusive"
Type: stringorder
- Order: ASC or DESC
Type: string - Default: ASCorderby
- Order by field
Type: string - Default: idstatus
- Commission status: unpaid, paid, revoked
Type: array, stringuser
- Get commission by user ID(s) or "current"
Type: array, string
Fields
all
- Show data of all custom fields (for development purpose)amount
- Commission amountcurrency
- Commission currencydate_created
- Commission date createddate_paid
- Commission date paiddownload_id
- Commission product idid
- Commission IDpayment_id
- Commission payment idrate
- Commission ratestatus
- Commission status : unpaid, paid, revokedtype
- Commission typeuser_id
- Commission User ID