| @@ -57,8 +57,9 @@ | ||
| 57 | 57 | require_once __DIR__ . '/fields/class-field-html.php'; |
| 58 | 58 | require_once __DIR__ . '/fields/class-field-hidden.php'; |
| 59 | 59 | require_once __DIR__ . '/fields/class-field-image.php'; |
| 60 | 60 | require_once __DIR__ . '/fields/class-field-recaptcha.php'; |
| 61 | + require_once __DIR__ . '/fields/class-field-humanpresence.php'; | |
| 61 | 62 | require_once __DIR__ . '/fields/class-field-date.php'; |
| 62 | 63 | |
| 63 | 64 | $fields = [ |
| 64 | 65 | 'text_field' => new WeForms_Form_Field_Text(), |
| @@ -76,8 +77,9 @@ | ||
| 76 | 77 | 'custom_html' => new WeForms_Form_Field_HTML(), |
| 77 | 78 | 'custom_hidden_field' => new WeForms_Form_Field_Hidden(), |
| 78 | 79 | 'image_upload' => new WeForms_Form_Field_Image(), |
| 79 | 80 | 'recaptcha' => new WeForms_Form_Field_reCaptcha(), |
| 81 | + 'humanpresence' => new WeForms_Form_Field_HumanPresence(), | |
| 80 | 82 | ]; |
| 81 | 83 | |
| 82 | 84 | $this->fields = apply_filters( 'weforms_form_fields', $fields ); |
| 83 | 85 | } |
| @@ -117,8 +119,9 @@ | ||
| 117 | 119 | 'column_field', |
| 118 | 120 | 'section_break', |
| 119 | 121 | 'custom_html', |
| 120 | 122 | 'recaptcha', |
| 123 | + 'humanpresence' | |
| 121 | 124 | ] |
| 122 | 125 | ), |
| 123 | 126 | ], |
| 124 | 127 | ]; |