• 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.

    https://www.ads-software.com/extend/plugins/wp-filebase/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Fabian

    (@fabifott)

    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

    Thread Starter yogaboy

    (@yogaboy)

    Super – thanks for this!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding a hook to allow download logging’ is closed to new replies.