DescriptionUsageParametersExamplesPlacementSinceSource Code
Description
The 「gform_signature_show_in_all_fields」 filter in the Gravity Forms Signature Add-On allows the inclusion of the signature image in the {all_fields} merge tag output to be toggled on/off.
Usage
1add_filter( 'gform_signature_show_in_all_fields', 'your_function_name', 10, 4 );
Parameters
$include_signature bool
The current value indicating whether the signature image should be included.
$field Field Object
The Field Object.
$options string
The merge tag modifiers. e.g. 「value,nohidden」 would be the modifiers for {all_fields:value,nohidden}.
$value
The value of the field currently being processed.
Examples
The example below turns off the inclusion of the signature image in the {all_fields} merge tag.
1add_filter( 'gform_signature_show_in_all_fields', '__return_false' );
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in version 2.3.
Source Code
This filter is located in GFSignature::merge_tag_filter() in gravityformssignature/class-gf-signature.php.