gravityflow_inbox_filter

This filter is used to customize the form submissions listed in the inbox page.

Parameters

$filter array

Example

The following snippet will limit the submissions listed in the inbox page to form id 1.

add_filter( 'gravityflow_inbox_filter', 'sh_gravityflow_inbox_filter' );
function sh_gravityflow_inbox_filter( $filter ){ 
    $filter    = array(
        'form_id'    => 1, // Replace 1 with your form id
        'start_date' => '', // Optional start date in yyyy-mm-dd format
        'end_date'   => '' // Optional end date in yyyy-mm-dd format
    );
return $filter;
}

Placement

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

Still need help? Contact Support Contact Support