gf_apply_filters()
function gf_apply_filters( $filter, $value )
Gravity Forms pre-processing for apply_filters
Allows additional filters based on form and field ID to be defined easily.
Since:
1.9.121.9.15(Modifiers should no longer be passed as a separate parameter.)3.0.2(Updated to catch and log throwable errors.)
Source: gravityforms.php:7382
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$filter | string | array | The name of the filter. | |
$value | mixed | The value to filter. |
Returns
mixed— The filtered value.
Throws
Throwable