Skip to content

Commit 95d5348

Browse files
scytspivurno
authored andcommitted
Removed gppa-use-line-break-as-value-separator.php which is a duplicate of gppa-use-new-line-as-delimiter.php. (#482)
Added gppa-remove-default-behavior-using-comma.php back to library with corrected code.
1 parent 0349ef4 commit 95d5348

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
/**
3+
* Gravity Perks // GP Populate Anything // Remove Default Behavior of Using a Comma as a Delimiter
4+
* https://gravitywiz.com/documentation/gravity-forms-populate-anything/
5+
*/
6+
add_filter( 'gppa_array_value_to_text', function( $text_value, $array_value ) {
7+
return json_encode( $array_value );
8+
}, 11, 2 );

gp-populate-anything/gppa-use-line-break-as-value-separator.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)