gravityflow_entry_detail_grid_display_empty_fields

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

    ParameterTypeDefinition
    $formFormThe current form.
    $entryEntryThe current entry.
    $allow_display_empty_fieldsBooleanIndicates if empty fields should be displayed.
    $current_stepStepThe 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?