Reply To: Get File Names in Email
August 4, 2020 at 1:16 pm Reply
Customer
Thank you. Is there documentation on what is in the $entry
variable? For instance, could I do:
add_filter( 'syncs3_put_object_file_path', 'customize_syncs3_filename', 10, 6 );
function customize_syncs3_filename( $path, $file, $file_name, $field_id, $form_id, $entry ) {
$file_name = 'entry-'.$entry['id'].'-'.$file_name;
return $file_name;
}