gppa_should_force_use_field_value
Description
Determine whether or not a passed field value is used rather than the dynamically populated value. This can be useful for preferring dynamically populated values over values already set in an entry.
Usage
Apply to all forms.
add_filter( 'gppa_should_force_use_field_value', 'my_custom_function' );
Apply to a specific form.
add_filter( 'gppa_should_force_use_field_value_FORMID', 'my_custom_function' );
Apply to a specific input.
add_filter( 'gppa_should_force_use_field_value_FORMID_INPUTID', 'my_custom_function' );
Parameters
should_force_use_field_value boolean
Whether or not to use the field value provided from an outside source such as Save & Continue or if editing an entry.
field GF_Field
The current field.
Since
This filter is available since Gravity Forms Populate Anything 1.1.5.