connection_options->is_const_defined( $this->get_slug(), 'api_key' ) ) : ?>
display_const_set_message( 'WPMS_MAILGUN_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' ),
]
);
?>
get a Mailgun API Key. Generate a key in the "Mailgun API Keys" section.', 'wp-mail-smtp' ),
'https://app.mailgun.com/settings/api_security'
),
[
'a' => [
'href' => [],
'rel' => [],
'target' => [],
],
]
);
?>