gpfr_ignore_extension
Description
Indicate whether file extensions should be ignored when deduplicating filenames.
Usage
Apply to all File Upload fields on all forms.
add_filter( 'gpfr_ignore_extension', 'my_custom_function' );
Apply to all File Upload fields on a specific form.
add_filter( 'gpfr_ignore_extension_FORMID', 'my_custom_function' );
Apply to a specific File Upload field on a specific form.
add_filter( 'gpfr_ignore_extension_FORMID_FIELDID', 'my_custom_function' );
Parameters
$ignore_extension bool
Whether the file extension should be ignored. Defaults to
false
.
Since
This filter is available since Gravity Forms File Renamer 1.0.