<?php if (!empty($message)) : ?>
	<div id="error" class="notice notice-error notice-newsletters <?php echo (!empty($dismissable)) ? 'is-dismissible' : ''; ?>" data-notice="<?php echo esc_attr($type); ?>">
		<p><i class="fa-solid fa-xmark fa-fw"></i> <?php echo $message; ?></p>
	</div>
<?php endif; ?>