How to programatically move files via hooks
-
Hello! I use this
wpcf7_before_send_mailCF 7 filter and I can’t see the file paths on the snippet below when I use your multi files field. I debug$submission->uploaded_files()and it’s an empty array even though I’ve uploaded some files.add_action(‘wpcf7_before_send_mail’, function ($contact_form, &$abort, $submission) {
$uploaded_files = $submission->uploaded_files();I need to do that to be able to move the files to another specific path.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.