Skip to main content

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: Unknown

Source: gravityforms.php:7248

Parameters

NameTypeDefaultDescription
$filterstring | arrayThe name of the filter.
$valuemixedThe value to filter.

Returns

  • mixed — The filtered value.