gravityflow_assignee_status_list_woocommerce

Description

The gravityflow_assignee_status_list_woocommerce filter allows developers to control whether the assignee status list is displayed for WooCommerce payment steps in the workflow detail box.

Parameters

ParameterTypeDetails
$display_step_statusboolWhether to display the assignee status list. Default: based on step status setting
$formarrayThe current Gravity Forms form
$stepobjectThe current Gravity Flow step

Examples

Hide the assignee status list for WooCommerce payment steps.

add_filter( 'gravityflow_assignee_status_list_woocommerce', 'hide_woocommerce_assignee_status', 10, 3 );

function hide_woocommerce_assignee_status( $display_step_status, $form, $step ) {
    // Always hide the assignee status list for WooCommerce payment steps
    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?

Source Code

This filter is located in includes/steps/class-step-woocommerce-payment.php