gravityflow_entry_detail_grid_display_empty_fields
The gravityflow_entry_detail_grid_display_empty_fields can be used to controll if empty fields should be displaed by default in the workflow details grid.
Parameters
Parameter | Type | Definition |
---|---|---|
$form | Form object | The current form. |
$entry | Entry object | The current entry. |
$allow_display_empty_fields | Bool | Indicates if empty fields should be displayed. |
$current_step | Step | The current workflow step. |
Examples
Example 1 -
add_filter( 'gravityflow_entry_detail_grid_display_empty_fields', '__return_true' );
Placement
This code should be placed in the functions.php file of your active theme or in a custom functions plugin.