Vendor loop

For loop type edd_vendor, here are the available query arguments and fields.

Query arguments

  • email - Get vendor by email

    Type: string

  • order - Order: ASC or DESC

    Default: ASC
    Type: string

  • orderby - Order by field

    Default: id
    Type: string

  • search - Search vendors by given string

    Type: string

  • status - Vendor status: pending; approved

    Default: approved
    Type: string

  • user_id - Get vendor by user_id

    Type: string

  • username - Get vendor by username

    Type: 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