gf_has_filter()
function gf_has_filter( $filter, $function_to_check=false )
Determines if a callback has been registered for the specified filter.
Since: 2.4.18
Source: gravityforms.php:7364
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$filter | array | An array containing the filter tag and modifiers. | |
$function_to_check | bool | callable | false | The optional callback to check for. |
Returns
bool