Download Monitor
How to get document's name and url in a custom function? (1 post)

  1. edobejar
    Posted 2 years ago #


    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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Download Monitor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic