Comments (3)
$version = $download->get_file_version(); $file_paths = $version->mirrors;
File paths will be an array of your URL's (if you have several mirrors).
from download-monitor.
ahh ok i was doing
$download_mirrors = array_filter( (array) get_post_meta( $id, '_files', true );
$filename = $download_mirrors[0];
from download-monitor.
Yeah thats the problem, mirrors are stored at version level, not download level :)
from download-monitor.
Related Issues (20)
- Report header HOT 1
- API keys table needs some spacing HOT 1
- Debug download metabox doesn't stay on
- Replace echo wp_json_encode( ... ); wp_die(); with the proper wp_send_json_..
- Move license functionality to DLM PRO HOT 2
- Add a custom file size header for servers who remove the content-length header
- Button and link color used on downloads page are not the ones used for DM
- Problem with Version Selection in Block-Editor
- Activate your license link issue HOT 1
- Remove Twitter lock upsells
- Deactivate - Activate Download Monitor plugin causes all licenses to be inactive HOT 1
- Database tables are not created on initial update HOT 1
- Multiple acceptance of terms with no download
- New install for DLM 5.0.0 HOT 1
- Shop feature not working HOT 1
- Warning when trying to insert download in product (Shop feature) HOT 2
- Download Monitor Shop, product details HOT 2
- UUID column in download_log can not be null HOT 1
- Move ignore_admin_log placement, to ignore all admin log requests
- External download logging problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from download-monitor.