gravityflow_status_fields

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

Parameters

$field_ids array

Example

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

add_filter( 'gravityflow_status_fields', 'sh_gravityflow_status_fields' );
function sh_gravityflow_status_fields( $field_ids ){
// list the IDs of your fields here.
$field_ids = array( 1,2,3);
return $field_ids;
}

Placement

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

Still need help? Contact Support Contact Support