<?php
if (!defined('ABSPATH')) exit; // Exit if accessed directly 

if (!is_array($flush_message) || !isset($flush_message['message'])) {
    return false;
}
?>

<div class="iwbvel-alert <?php echo (isset($flush_message['type'])) ? 'iwbvel-alert-' . esc_attr($flush_message['type']) : 'iwbvel-alert-default' ?>">
    <span><?php echo esc_html($flush_message['message']); ?></span>
</div>