• Hi,

    I am trying to store uploaded files on my server by using CF7. Now at the moment i am able to sent the files by email and store the files in a folder (using wpcf7_upload_tmp_dir for this and altering file.php and submission.php by outcommenting @unlink)

    Now i notice CF7 uses a random file name folder to store the file, my question could i use a CF7 input field value to create the folder name.

    So folder would be {wpcf7_upload_tmp_dir}/username/image1.jpg

    Maybe copying or hooking function wpcf7_maybe_add_random_dir ?

    Any tips?

    https://wordpress.org/plugins/contact-form-7/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Duplicate function wpcf7_maybe_add_random_dir to store files online in folders?’ is closed to new replies.