Get Download File
-
Hi,
Firstly, great plugin- thanks for your hard work!
I have a custom page template that queries (via WP_Query) all the downloads within a category. I then display them (after some additional sorting via usort) on the page with the while loop. What I was able to do in the old plugin was get the actual file for each download, however, I don’t see a way to get this with the new plugin.
My goal is to store the file path in an array as I go through the while loop, then add all those files to a zip so that the user can bulk download all the files for that category.
In the old plugin, I could use $download->filename. I tried followign the logic for getting the path with the versions and enpoints, but I’m not skilled enough it seems. Any advice would be great. Thanks.
The topic ‘Get Download File’ is closed to new replies.