getAllIntegration('app', 'gReCaptcha'); if (is_wp_error($allFormIntegrations)) { return ''; } $siteKey = json_decode($allFormIntegrations[0]->integration_details)->siteKey; return self::field($field, $rowID, $field_name, $form_atomic_Cls_map, $formID, $siteKey, $error = null, $value = null); } private static function field($field, $rowID, $field_name, $form_atomic_Cls_map, $formID, $siteKey, $error = null, $value = null) { $fieldHelpers = new ClassicFieldHelpers($field, $rowID, $form_atomic_Cls_map); $theme = $field->config->theme; $size = $field->config->size; return sprintf( '