Description
The gravityflow_below_workflow_info_entry_detail action allows content to be added below the workflow info on the entry detail page
Parameters
Parameter | Type | Details |
---|---|---|
$form | Form | The current form. |
$entry | Entry | The Entry object. |
$step | Step | The 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?