gravityflow_below_status_list_user_input

Description

The gravityflow_below_status_list_user_input action allows content to be added in the workflow box below the status list.

Parameters

ParameterTypeDetails
$stepStepThe workflow step.
$formFormThe Form object.

Examples

Add custom content below the status list

1
2
3
4
add_action( 'gravityflow_below_status_list_user_input', 'sh_gravityflow_below_status_list_user_input', 10, 2 );
 function sh_gravityflow_below_status_list_user_input( $step, $form ) {
        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?