Vendor loop
For loop type edd_vendor
, here are the available query arguments and fields.
Query arguments
-
email
- Get vendor by emailType: string
-
order
- Order: ASC or DESCDefault:
ASC
Type: string -
orderby
- Order by fieldDefault:
id
Type: string -
search
- Search vendors by given stringType: string
-
status
- Vendor status: pending; approvedDefault:
approved
Type: string -
user_id
- Get vendor by user_idType: string
-
username
- Get vendor by usernameType: string
Fields
-
all
- Show data of all custom fields (for development purpose)
-
avatar
- Vendor avatar
-
commissions
- Vendor commissions
-
contact_email
- Vendor store contact email
-
date_created
- Date when vendor was created
-
email
- Vendor email
-
first_name
- Vendor first name
-
id
- Vendor ID
-
last_name
- Vendor last name
-
notes
- Notes, field/list loop
-
product_count
- Number of vendor products
-
sales_count
- Number of vendor sales
-
sales_value
- Total sales value
-
status
- Vendor status
-
store_name
- Vendor store name
-
store_url
- Vendor store url
-
user_id
- Vendor User ID
-
username
- Vendor username
-
vendor_description
- Vendor description