gravityflow_form_ids_inbox

The gravityflow_form_ids_inbox filter is used to constrain which forms' entries are displayed via the  inbox shortcode and admin view. 

Parameters

$form_ids array
$search_Criteria array

Examples

The following snippet will prevent entries from form with the ID of 1 from being presented in the inbox

add_filter( 'gravityflow_form_ids_inbox', 'sh_inbox_form_ids_limit', 10, 2 );
function sh_inbox_form_ids_limit( $form_ids, $search_criteria ) {

	unset( $form_ids[ array_search( 1, $form_ids ) ] );
	$form_ids = array_values( $form_ids );

	return $form_ids;
}

The following snippet will limit the inbox to only display entries from form with the ID of 1 or 6.

add_filter( 'gravityflow_form_ids_inbox', 'sh_inbox_form_ids_explicit', 10, 2 );
function sh_inbox_form_ids_explicit( $form_ids, $search_criteria ) {
	//Adjust array to your desired form IDs.
	$form_ids = array ( 1, 6 );
	return $form_ids;
}

Placement

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