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.

發表回覆

您的電子郵箱地址不會被公開。 必填項已用 * 標註