Description
The “gform_export_forms_forms” filter in Gravity Forms allows the forms displayed on the Export Forms page to be filtered.
Usage
add_filter( 'gform_export_forms_forms', 'your_function_name', 10, 1 );
Parameters
- $forms array
The complete list of forms.
Examples
add_filter( 'gform_export_forms_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_form_page() in export.php.