WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. edobejar
    Member
    Posted 1 year ago #

    Hello,

    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.

    http://wordpress.org/extend/plugins/download-monitor/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic