| @@ -1,18 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | - | |
| 3 | -class SendinblueIntegration extends SendinblueClass | |
| 4 | -{ | |
| 5 | - public function getSettingsSendingMethodFromPlugin(&$data, $plugin, $method) | |
| 6 | - { | |
| 7 | - if ($method != plgAcymSendinblue::SENDING_METHOD_ID) return; | |
| 8 | - | |
| 9 | - if (ACYM_CMS == 'wordpress' && $plugin == 'wp_mail_smtp') { | |
| 10 | - $wpMailSmtpSetting = get_option('wp_mail_smtp', ''); | |
| 11 | - if (empty($wpMailSmtpSetting['sendinblue']['api_key'])) { | |
| 12 | - return; | |
| 13 | - } | |
| 14 | - | |
| 15 | - $data['sendinblue_api_key'] = $wpMailSmtpSetting['sendinblue']['api_key']; | |
| 16 | - } | |
| 17 | - } | |
| 18 | -} | |