Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cmcdona2

    (@cmcdona2)

    Hey Nickolas,

    Apologies if I’m being a pain, but I added all that code to Code Snippet and I think it’s working fine!

    Does the extraction have to be a html extraction? Can it not be done in php?

    Regards,
    Colin

    Thread Starter cmcdona2

    (@cmcdona2)

    Thank you so much Nickolas! And for getting back to me so quickly! I really appreciate it.

    You’re a true gentleman!

    Just one point that I wasn’t so sure of; do I only use Code Snippet to add my php extraction file, and then add the filters in the plugin files? Or did you mean add this…

    if (!function_exists('wfu_before_file_upload_handler')) {
        function wfu_before_file_upload_handler($file_path, $file_unique_id) {
          $_SESSION['wfu_tempfiles'][$file_unique_id] = $file_path;
          return $file_path;
      }
      add_filter('wfu_before_file_upload', 'wfu_before_file_upload_handler'

    … to Code Snippet.

    Apologies if this is trying to confuse you.

    Thanks so much again, and kind regards,
    Colin

Viewing 2 replies - 1 through 2 (of 2 total)