This topic contains 0 replies, has 1 voice. Last updated by Daniel B 3 years, 8 months ago.
Topic Author | Topic |
---|---|
Posted: Sunday May 12th, 2013 at 1:54 pm #49783 | |
Hi, Would it be possible to add a filter and an action to ‘check_file_download_access’ function? Currently I modify the file (files-in.inc.php) each time after an update by adding an additional filter and action. 1. Filter that allows me to modify the $req array. $req = apply_filters( ‘ws_plugin__s2member_file_request_data’ , $req ); 2. Action when the download file has been served. (Just above the exit /* Stop execution now (the file has been served). */(); file) do_action(‘ws_plugin__s2member_download_finished’, $req); Those two small changes would add more flexibility to your awesome plugin. Best regards, |