| @@ -26,9 +26,8 @@ | ||
| 26 | 26 | public function onAcymGetSendingMethodsHtmlSetting(&$data) |
| 27 | 27 | { |
| 28 | 28 | $config = empty($data['tab']) ? $this->config : $data['tab']->config; |
| 29 | 29 | $defaultApiKey = $config->get(self::SENDING_METHOD_ID.'_api_key'); |
| 30 | - ob_start(); | |
| 31 | 30 | ?> |
| 32 | 31 | <div class="send_settings cell grid-x acym_vcenter" id="<?php echo esc_attr(self::SENDING_METHOD_ID); ?>_settings"> |
| 33 | 32 | <div class="cell grid-x acym_vcenter acym__sending__methods__one__settings"> |
| 34 | 33 | <label class="cell shrink margin-right-1" for="<?php echo esc_attr(self::SENDING_METHOD_ID); ?>_settings_api-key"> |
| @@ -58,9 +57,8 @@ | ||
| 58 | 57 | </label> |
| 59 | 58 | </div> |
| 60 | 59 | </div> |
| 61 | 60 | <?php |
| 62 | - $data['sendingMethodsHtmlSettings'][self::SENDING_METHOD_ID] = ob_get_clean(); | |
| 63 | 61 | } |
| 64 | 62 | |
| 65 | 63 | public function getHeadersSendingMethod($sendingMethod, $credentials = [], $sendingMethodListParams = []) |
| 66 | 64 | { |