get_connections_manager()->get_primary_connection();
}
$description = sprintf(
wp_kses( /* translators: %1$s - URL to brevo.com site. */
__( 'Brevo (formerly Sendinblue) is one of our recommended mailers. It\'s a transactional email provider with scalable price plans, so it\'s suitable for any size of business.
If you\'re just starting out, you can use Brevo\'s free plan to send up to 300 emails a day. You don\'t need to use a credit card to try it out. When you\'re ready, you can upgrade to a higher plan to increase your sending limits.', 'wp-mail-smtp' ) .
'
' .
/* translators: %2$s - URL to wpmailsmtp.com doc. */
__( 'To get started, read our Brevo documentation.', 'wp-mail-smtp' ),
[
'strong' => true,
'br' => true,
'a' => [
'href' => true,
'rel' => true,
'target' => true,
],
]
),
'https://wpmailsmtp.com/go/sendinblue/',
esc_url( wp_mail_smtp()->get_utm_url( 'https://wpmailsmtp.com/docs/how-to-set-up-the-sendinblue-mailer-in-wp-mail-smtp/', 'Brevo documentation' ) )
);
$api_key = $connection->get_options()->get( self::SLUG, 'api_key' );
if ( empty( $api_key ) ) {
$description .= sprintf(
'
' . esc_html__( 'Transparency and Disclosure', 'wp-mail-smtp' ) . '' . esc_html__( 'We believe in full transparency. The Brevo (formerly Sendinblue) links above are tracking links as part of our partnership with Brevo. We can recommend just about any SMTP service, but we only recommend products that we believe will add value to our users.', 'wp-mail-smtp' ) . '
'; parent::__construct( [ 'logo_url' => wp_mail_smtp()->assets_url . '/images/providers/brevo.svg', 'slug' => self::SLUG, 'title' => esc_html__( 'Brevo', 'wp-mail-smtp' ), 'php' => '5.6', 'description' => $description, 'supports' => [ 'from_email' => true, 'from_name' => true, 'return_path' => false, 'from_email_force' => true, 'from_name_force' => true, ], 'recommended' => true, ], $connection ); } /** * Output the mailer provider options. * * @since 1.6.0 */ public function display_options() { // Do not display options if PHP version is not correct. if ( ! $this->is_php_correct() ) { $this->display_php_warning(); return; } ?>' . esc_html__( 'Get v3 API Key', 'wp-mail-smtp' ) . '' ); ?>
Brevo documentation.', 'wp-mail-smtp' ), [ 'br' => [], 'a' => [ 'href' => [], 'rel' => [], 'target' => [], ], ] ), esc_url( wp_mail_smtp()->get_utm_url( 'https://wpmailsmtp.com/docs/how-to-set-up-the-sendinblue-mailer-in-wp-mail-smtp/#setup-smtp', 'Brevo documentation' ) ) ); ?>