new version
This commit is contained in:
@@ -3145,12 +3145,6 @@ abstract class GFAddOn {
|
||||
|
||||
foreach ( $form['fields'] as $field ) {
|
||||
|
||||
if ( ! empty( $args['field_types'] ) && ! in_array( $field->type, $args['field_types'] ) ) {
|
||||
|
||||
continue;
|
||||
|
||||
}
|
||||
|
||||
$input_type = GFFormsModel::get_input_type( $field );
|
||||
$is_applicable_input_type = empty( $args['input_types'] ) || in_array( $input_type, $args['input_types'] );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user