PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / trunk
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress vtrunk
11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 10.3.0 10.4.0 All 60 releases
acymailing / back / dynamics / sendinblue / integration.php

integration.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress trunk, at back/dynamics/sendinblue/integration.php

19 lines 565 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 }
19