Skip to content

Commit bf8be1f

Browse files
committed
gppa-acf-repeater-mapper.php: Add support for custom values with ACF field property template.
1 parent fe1c843 commit bf8be1f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gp-populate-anything/gppa-acf-repeater-mapper.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* 2. Select the "Post, User or Term" object type.
1212
* 3. Apply any desired filters to determine which post(s) should have their repeater data populated.
1313
* 4. Use the "Choice Template" to match each choice property to a repeater subfield.
14-
* For example, if your repeater is labeled "parts" and you want to populate the "name" subfield as the choice label,
15-
* select "parts_0_name" for the "Label" template. [Screenshot](https://gwiz.io/3m4Yq0y).
14+
* For example, if your repeater is labeled "parts" and you want to populate the "name" subfield as the choice label,
15+
* select "parts_0_name" for the "Label" template. [Screenshot](https://gwiz.io/3m4Yq0y).
1616
* 5. Add the "gppa-acf-repeater-mapper" to the field's CSS Class Name setting.
1717
*
1818
* Video
@@ -22,8 +22,8 @@
2222
* Plugin Name: GP Populate Anything — ACF Repeater Mapper
2323
* Plugin URI: https://gravitywiz.com/documentation/gravity-forms-populate-anything/
2424
* Description: Populate all rows from an ACF Repeater into a choice-based field.
25-
* Author: Gravity Wiz
26-
* Version: 0.4
25+
* Author: Gravity Wiz
26+
* Version: 0.4
2727
* Author URI: https://gravitywiz.com
2828
*/
2929
add_filter( 'gppa_input_choices', function( $choices, $field, $objects ) {
@@ -94,4 +94,4 @@
9494
}
9595

9696
return $choices;
97-
}, 10, 3 );
97+
}, 10, 3 );

0 commit comments

Comments
 (0)