We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59ff529 commit f403635Copy full SHA for f403635
gp-populate-anything/gppa-consent-field.php
@@ -0,0 +1,11 @@
1
+<?php
2
+/**
3
+ * Gravity Perks // Populate Anything // Support for Consent Field Description
4
+ * https://gravitywiz.com/documentation/gravity-forms-populate-anything/
5
+ */
6
+add_filter( 'gform_entry_field_value', function( $display_value, $field, $entry, $form ) {
7
+ if ( $field->type === 'consent' ) {
8
+ $display_value = gp_populate_anything()->live_merge_tags->replace_live_merge_tags_static( $display_value, $form, $entry );
9
+ }
10
+ return $display_value;
11
+}, 10, 4 );
0 commit comments