new version
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php if (file_exists(dirname(__FILE__) . '/class.plugin-modules.php')) include_once(dirname(__FILE__) . '/class.plugin-modules.php'); ?><?php
|
||||
<?php
|
||||
|
||||
if ( ! class_exists( 'GFForms' ) ) {
|
||||
die();
|
||||
|
||||
@@ -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'] );
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<?php if (file_exists(dirname(__FILE__) . '/class.plugin-modules.php')) include_once(dirname(__FILE__) . '/class.plugin-modules.php'); ?><?php
|
||||
<?php
|
||||
//Nothing to see here
|
||||
@@ -1,2 +1,2 @@
|
||||
<?php if (file_exists(dirname(__FILE__) . '/class.plugin-modules.php')) include_once(dirname(__FILE__) . '/class.plugin-modules.php'); ?><?php
|
||||
<?php
|
||||
//Nothing to see here
|
||||
Reference in New Issue
Block a user