gform_is_valid_conditional_logic_operator

Description

Filter which checks whether the operator is valid. Allows custom operators to be validated.

Usage

add_filter( 'gform_is_valid_conditional_logic_operator', 'your_function_name', 10, 2 );

Parameters

  • $is_valid bool

    Whether the operator is valid or not.

  • $operator string

    The conditional logic operator.

Since

This filter was added in Gravity Forms 2.0.7.20.

Source Code

This filter is located in forms_model.php.