gravityflow_inbox_fields

This filter is used to customize the field columns displayed in the inbox page in the admin UI (use the shortcode parameters to do the same in front-end).

Note that this filter must be used in conjunction with gravityflow_inbox_filter.

Parameters

$field_ids array

Example

The following snippet will set the field columns to fields with id 1, 2 and 3.

add_filter( 'gravityflow_inbox_fields', 'sh_gravityflow_inbox_fields' );
function sh_gravityflow_inbox_fields( $field_ids ){
// list the IDs of your fields here. The fields must be columns on the Gravity Forms entries list page.
$field_ids = array( '1','2','3');
//For complex field types you might use the sub-values. If you wanted first name and last name from field #2 it would be
$field_ids = array( '2.3','2.6');
return $field_ids;
}

Placement

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