gform_export_line

Description

Filter the current line being exported.

Usage

The following would apply to all forms:

add_filter( 'gform_export_line', 'append_lines_to_row', 10, 6 );

Parameters

  • $line string

    The current line being exported.

  • $form array

    The current form object.

  • $fields array

    An array of field IDs to be exported.

  • $field_rows array

    An array of List fields.

  • $entry array

    The current entry.

  • $separator string

    The separator.

Placement

This code should be placed in the functions.php file of your active theme.

Since

This filter was added in Gravity Forms version 2.4.11.5.

Source Code

This filter is located in GFExport::prepare_forms_for_export() in export.php.