WordPress.org

Ready to get started?Download WordPress

Forums

WP-Filebase Download Manager
Adding a hook to allow download logging (3 posts)

  1. yogaboy
    Member
    Posted 11 months ago #

    Would you be willing to add a hook in the next release to allow the addition of custom download logging? All that would be needed is to add the following in File.php after the count download block (~ line 521):

    do_action( 'wpfb_file_downloaded', $this->file_id );

    It would save me having to fix the code for this every time there's a plugin update, and may be useful for others.

    http://wordpress.org/extend/plugins/wp-filebase/

  2. Fabian
    Member
    Plugin Author

    Posted 10 months ago #

    Hello,

    will be added with the next update, however I named the action wpfilebase_file_downloaded to use the same namespace like wpfilebase_sync

    Regards

  3. yogaboy
    Member
    Posted 10 months ago #

    Super - thanks for this!

Reply

You must log in to post.

About this Plugin

About this Topic