I’m using Download Monitor with Buddypress to create a document repository for a group of users. Now I’m creating a custom function to update the activity page (like Facebook wall) each time a document is uploaded (using add_action(‘download_added’, ‘custom_function’);).
What I would like to know is how to get the current document’s name and url from a custom function. Is there a global variable where Download Monitor stores the document filename and url?
Thank you for any tip or idea.
- The topic ‘How to get document's name and url in a custom function?’ is closed to new replies.