Description
This filter enabled you to display custom column content on the Form List page after creating a custom column with the gform_form_list_columns filter.
Usage
add_filter( 'gform_form_list_column_COLUMN_NAME', 'your_function_name' );
Parameters
- $form Form Object
The current form.
Examples
This example displays the form creation date on the Forms list.
add_action( 'gform_form_list_column_date_created', function( $form ) {
echo esc_html( rgobj( $form, 'date_created' ) );
} );
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?
Since
This filter was added in Gravity Forms version 2.3-beta-3
Source Code
This filter is located in GF_Form_List_Table::get_columns() in form_list.php.