Description
Enables the filter settings for the form fields retrieved from $_POST to be modified.
Usage
The following would apply to all forms:
add_filter( 'gform_field_filter_from_post', 'your_function_name', 10, 3 );
Parameters
- $field_filter array
The form field, entry properties, and entry meta filter settings. - $form Form Object
The form object. - $field Field Object
The field object.
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?
Source Code
This hook is located in common.php.
Since
Gravity Forms version 2.5.17