proper way to programmatically add download
-
I’m doing a mass import of documents from a legacy system, so I need a way to programmatically add
dlm_download
posts. I can’t find a single function to do this, which would create thedlm_download
and handle the file attachment too. The process seems to be wrapped up insideDLM_Admin_Media_Insert::media_browser()
, but not in such a way as to be used by a script in another plugin / theme.Am I missing something or should I be writing my own script based on this code?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘proper way to programmatically add download’ is closed to new replies.