| @@ -25,9 +25,8 @@ | ||
| 25 | 25 | public function onAcymGetSendingMethodsHtmlSetting(&$data) |
| 26 | 26 | { |
| 27 | 27 | $config = empty($data['tab']) ? $this->config : $data['tab']->config; |
| 28 | 28 | $defaultApiKey = $config->get(self::SENDING_METHOD_ID.'_api_key'); |
| 29 | - ob_start(); | |
| 30 | 29 | ?> |
| 31 | 30 | <div class="send_settings cell grid-x acym_vcenter" id="<?php echo esc_attr(self::SENDING_METHOD_ID); ?>_settings"> |
| 32 | 31 | <div class="cell grid-x acym_vcenter acym__sending__methods__one__settings"> |
| 33 | 32 | <label class="cell shrink margin-right-1" for="<?php echo esc_attr(self::SENDING_METHOD_ID); ?>_settings_api-key"> |
| @@ -48,9 +47,8 @@ | ||
| 48 | 47 | <?php $this->getCopySettingsButton($data, self::SENDING_METHOD_ID, 'wp_mail_smtp'); ?> |
| 49 | 48 | </div> |
| 50 | 49 | </div> |
| 51 | 50 | <?php |
| 52 | - $data['sendingMethodsHtmlSettings'][self::SENDING_METHOD_ID] = ob_get_clean(); | |
| 53 | 51 | } |
| 54 | 52 | |
| 55 | 53 | public function onAcymTestCredentialSendingMethod($sendingMethod, $credentials) |
| 56 | 54 | { |