gform_export_entries_forms

gform_export_entries_forms

DescriptionUsageParametersExamplesPlacementSinceSource Code

Description
The 「gform_export_entries_forms」 filter in Gravity Forms allows the forms displayed on the Export Entries page to be filtered.
Usage
1add_filter( 'gform_export_entries_forms', 'your_function_name', 10, 1 );

Parameters

$forms array
The complete list of forms.

Examples
123456add_filter( 'gform_export_entries_forms', 'filter_forms', 10, 1 );function filter_forms( $forms ){    //remove half of the forms    $forms = array_slice( $forms, 0, round( count( $forms ) / 2 ) );    return $forms;}
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.6.16.
Source Code
This filter is located in GFExport::export_lead_page() in export.php.

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注