• How can I find out if my custom code in this function is actually running?

    Also, if I am uploading just one file at a time, how do I reference information in the $additional_data array? Specifically, I just want the full file path of the item that just uploaded.

    Thank you!
    Joe

Viewing 1 replies (of 1 total)
  • on https://www.iptanus.com/filters-and-actions-of-wordpress-file-upload-plugin/ under wfu_after_upload (not wfu_after_file_upload…poor naming)-:
    additional_data array contains:

    *    > files: holds an array with final data about the files that have been
     *      uploaded (or failed); every item of the array is another array with
     *      the following items:
     *      >> file_unique_id: a unique id identifying every individual file
     *      >> original_filename: the original filename of the file
     *      >> filepath: the final path of the file (including the filename)
Viewing 1 replies (of 1 total)

The topic ‘wfu_after_file_upload’ is closed to new replies.