diff --git a/gp-populate-anything/gppa-encrypt-fileupload-field-links.php b/gp-populate-anything/gppa-encrypt-fileupload-field-links.php new file mode 100644 index 00000000..010f2497 --- /dev/null +++ b/gp-populate-anything/gppa-encrypt-fileupload-field-links.php @@ -0,0 +1,33 @@ + urlencode( $value ), + 'form-id' => $form['id'], + 'field-id' => $field['id'], + 'hash' => GFCommon::generate_download_hash( $form['id'], $field['id'], $value ), + ); + $download_url = add_query_arg( $args, $download_url ); + + return $download_url; + } + return $value; +}