| @@ -1,8 +1,5 @@ | ||
| 1 | 1 | <?php |
| 2 | -if ( ! defined( 'ABSPATH' ) ) { | |
| 3 | - die( 'You are not allowed to call this page directly.' ); | |
| 4 | -} | |
| 5 | 2 | |
| 6 | 3 | /** |
| 7 | 4 | * @since 3.0 |
| 8 | 5 | */ |
| @@ -31,18 +28,11 @@ | ||
| 31 | 28 | * @since 3.0 |
| 32 | 29 | */ |
| 33 | 30 | protected $holds_email_values = true; |
| 34 | 31 | |
| 35 | - /** | |
| 36 | - * @var bool | |
| 37 | - */ | |
| 38 | - protected $array_allowed = false; | |
| 39 | - | |
| 40 | 32 | protected function field_settings_for_type() { |
| 41 | - $settings = parent::field_settings_for_type(); | |
| 33 | + $settings = parent::field_settings_for_type(); | |
| 42 | 34 | $settings['css'] = false; |
| 43 | - $settings['default'] = true; | |
| 44 | - | |
| 45 | 35 | return $settings; |
| 46 | 36 | } |
| 47 | 37 | |
| 48 | 38 | protected function include_form_builder_file() { |
| @@ -48,11 +38,8 @@ | ||
| 48 | 38 | protected function include_form_builder_file() { |
| 49 | 39 | return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/field-hidden.php'; |
| 50 | 40 | } |
| 51 | 41 | |
| 52 | - /** | |
| 53 | - * @return string | |
| 54 | - */ | |
| 55 | 42 | protected function html5_input_type() { |
| 56 | 43 | return 'hidden'; |
| 57 | 44 | } |
| 58 | 45 | } |