Description
The gravityflow_assignee_status_list_user_input action allows the assignee status list to be hidden.
Parameters
Parameter | Type | Details |
---|---|---|
$display_step_status | Boolean | Defaults to true unless block/shortcode override. |
$form | Form | The Form object |
$step | Step | The 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?