connection_options->is_const_defined( $this->get_slug(), 'api_key' ) ) : ?>
display_const_set_message( 'WPMS_SPARKPOST_API_KEY' ); ?>
get_slug();
$value = $this->connection_options->get( $this->get_slug(), 'api_key' );
UI::hidden_password_field(
[
'name' => "wp-mail-smtp[{$slug}][api_key]",
'id' => "wp-mail-smtp-setting-{$slug}-api_key",
'value' => $value,
'clear_text' => esc_html__( 'Remove API Key', 'wp-mail-smtp' ),
]
);
?>
connection_options->get( $this->get_slug(), 'region' ) === 'EU' ? 'eu.' . $url : $url;
$url = 'https://app.' . $url . '/account/api-keys';
printf( /* translators: %s - API Key link. */
esc_html__( 'Follow this link to get an API Key from SparkPost: %s.', 'wp-mail-smtp' ),
'' .
esc_html__( 'Get API Key', 'wp-mail-smtp' ) .
''
);
?>
connection_options->is_const_defined( $this->get_slug(), 'region' ) ) {
$this->display_const_set_message( 'WPMS_SPARKPOST_REGION' );
}
?>
More information on SparkPost.', 'wp-mail-smtp' ),
[
'a' => [
'href' => [],
'rel' => [],
'target' => [],
],
]
),
'https://www.sparkpost.com/docs/getting-started/getting-started-sparkpost'
);
?>