Download file loop
Field loops do not query to the DB, they receive a prepopulated items
field.
This Loop is returned by a license's files
field, it cannot be called directly in a template (can be manually constructed through code, though).
For loop type edd_download_file
, here are the available query arguments and fields.
Query arguments
Fields
-
attachment_id
- Attachment ID
-
condition
- Condition
-
file
- File path
-
index
- Attachment index
-
name
- Filename
-
thumbnail_size
- Thumbnail size