gravityflow_display_field_choices

The gravityflow_display_field_choices filter allows the Gravity Forms fields to be shown in the Display Fields settings

Parameters

Parameter Type Definition
$fields_as_choices Fields Array The Gravity Forms fields to be shown in the Display Fields settings.
$form Form The form object.
$feed Feed The current feed being processed. If $feed is false, use the $_POST data.

Examples

Example 1 -

Placeholder code.

add_filter( 'gravityflow_display_field_choices', 'sh_gravityflow_display_field_choices', 10, 3 );
    function sh_gravityflow_display_field_choices( $fields_as_choices, $form, $feed) {
        //Do something here;
    }

Placement

This code should be placed in the functions.php file of your active theme or in a custom functions plugin.