Description
The gravityflow_inbox_filter filter customizes the form submissions listed on the inbox page.
Parameters
Parameter | Type | Details |
---|---|---|
$filters | Array | The filters which will apply to the inbox to restrict to specific form(s). |
Examples
Limit the submissions in the inbox page to a specific form
1 2 3 4 5 6 7 | 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 ); return $filter ; } |
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?