gravityflow_assignee_status_list_user_input

Description

The gravityflow_assignee_status_list_user_input action allows the assignee status list to be hidden.

Parameters

ParameterTypeDetails
$display_step_statusBooleanDefaults to true unless block/shortcode override.
$formFormThe Form object
$stepStepThe workflow step

Examples

Hide the assignee status list.

1
2
3
4
add_action( 'gravityflow_assignee_status_list_user_input', 'sh_filter_gravityflow_assignee_status_list_user_input', 10, 3 );
    function sh_filter_gravityflow_assignee_status_list_user_input( $display, $form, $step ) {
        return false;
    }

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?