connection_options->is_const_defined( $this->get_slug(), 'api_key' ) ) : ?>
display_const_set_message( 'WPMS_SMTPCOM_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' ),
]
);
?>
' .
esc_html__( 'Get API Key', 'wp-mail-smtp' ) .
''
);
?>