gpfr_is_applicable_field
Description
Control whether or not the File Renamer should be applied to a given field.
Usage
Applied globally
add_filter( 'gpfr_is_applicable_field', 'my_custom_function' );Applied to specific form
add_filter( 'gpfr_is_applicable_field_FORMID', 'my_custom_function' );Applied to specific field
add_filter( 'gpfr_is_applicable_field_FORMID_FIELDID', 'my_custom_function' );Parameters
$should_apply_gpfr
boolean
Whether or not the File Renamer should be applied to a given field.
$form
array
The current form object.
$field
array
The current field object.