gravityflow_below_workflow_info_entry_detail

Description

The gravityflow_below_workflow_info_entry_detail action allows content to be added below the workflow info on the entry detail page

Parameters

ParameterTypeDetails
$formFormThe current form.
$entryEntryThe Entry object.
$stepStepThe current workflow step.

Examples

Add custom content below the workflow info box

1
2
3
4
add_action( 'gravityflow_below_workflow_info_entry_detail', 'sh_action_gravityflow_below_workflow_info_entry_detail', 10, 3 );
    function sh_action_gravityflow_below_workflow_info_entry_detail( $form, $entry, $step ) {
        echo "<a href="https://example.com/delivery-report.pdf">Delivery Report Characteristics</a>";
    }

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?