[ad_1]
Hi @ddjeanne,
Yes that is possible! By default we choose to add the download attribute as it makes the most sense for most of our customers. So there isn’t a hook to disable that behaviour (yet).
However, we can change the output value with a different hook.
If you add the following snippet to your functions.php
or via the CodeSnippets plugin, it should remove that part from those urls.
add_filter( 'gfexcel_field_value_fileupload', function ( $value ) {
return str_replace( '&dl=1', '', (string) $value );
} );
See https://gfexcel.com/docs/changing-values/ for more information on this hook.
Kind regards,
Doeke