array(), 'br' => array(), 'a' => array( 'href' => array(), 'rel' => array(), 'target' => array(), ), ); $description = sprintf( wp_kses( /* translators: %s - URL to smtp.com site. */ __( 'SMTP.com is a recommended transactional email service. With a 22 years of track record of reliable email delivery, SMTP.com is a premiere solution for WordPress developers and website owners. SMTP.com has been around for almost as long as email itself. Their super simple integration interface makes it easy to get started while a powerful API and robust documentation make it a preferred choice among developers. Start a 30-day free trial with 50,000 emails.', 'wp-mail-smtp' ), $allowed_kses_html ), 'https://wpmailsmtp.com/go/smtp/' ); $description .= '

'; $description .= sprintf( wp_kses( /* translators: %s - URL to wpmailsmtp.com doc page for stmp.com. */ __( 'Read our SMTP.com documentation to learn how to configure SMTP.com and improve your email deliverability.', 'wp-mail-smtp' ), $allowed_kses_html ), 'https://wpmailsmtp.com/docs/how-to-set-up-the-smtp-com-mailer-in-wp-mail-smtp' ); $mailer_options = PluginOptions::init()->get_group( self::SLUG ); if ( empty( $mailer_options['api_key'] ) && empty( $mailer_options['channel'] ) ) { $description .= '

' . esc_html__( 'Get Started with SMTP.com', 'wp-mail-smtp' ) . '

'; } parent::__construct( [ 'logo_url' => wp_mail_smtp()->assets_url . '/images/providers/smtp-com.svg', 'slug' => self::SLUG, 'title' => esc_html__( 'SMTP.com', 'wp-mail-smtp' ), 'description' => $description, 'recommended' => true, 'supports' => [ 'from_email' => true, 'from_name' => true, 'return_path' => false, 'from_email_force' => true, 'from_name_force' => true, ], ] ); } /** * @inheritdoc */ public function display_options() { ?>
options->is_const_defined( $this->get_slug(), 'api_key' ) ) : ?> display_const_set_message( 'WPMS_SMTPCOM_API_KEY' ); ?>

' . esc_html__( 'Get API Key', 'wp-mail-smtp' ) . '' ); ?>

options->is_const_defined( $this->get_slug(), 'channel' ) ? 'disabled' : ''; ?> id="wp-mail-smtp-setting-get_slug() ); ?>-channel" spellcheck="false" /> options->is_const_defined( $this->get_slug(), 'channel' ) ) { $this->display_const_set_message( 'WPMS_SMTPCOM_CHANNEL' ); } ?>

' . esc_html__( 'Get Sender Name', 'wp-mail-smtp' ) . '' ); ?>