Description
The gravityflow_entry_detail_grid_display_empty_fields can be used to control if empty fields should be displayed by default in the workflow details grid.
Parameters
Parameter | Type | Definition |
---|---|---|
$form | Form | The current form. |
$entry | Entry | The current entry. |
$allow_display_empty_fields | Boolean | Indicates if empty fields should be displayed. |
$current_step | Step | The current workflow step. |
Examples
Force empty fields to always be displayed
1 | add_filter( 'gravityflow_entry_detail_grid_display_empty_fields' , '__return_true' ); |
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?