# e2pdf/1.03.07/classes/view/blocks/notifications.php

E2Pdf – Export Pdf Tool for WordPress, version 1.03.07. 20 lines.

- Page: https://pluginprobe.com/plugins/e2pdf/1.03.07/code/classes/view/blocks/notifications.php
- Raw: https://pluginprobe.com/plugins/e2pdf/1.03.07/raw/classes/view/blocks/notifications.php
- Modified: 2018-12-25T15:41:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/e2pdf/1.03.07/code/classes/view/blocks/notifications.php#L10-L20`.

```php
<?php
if (!defined('ABSPATH')) {
    die('Access denied.');
}
?>
<?php foreach ($this->get_notifications() as $key => $notify) { ?>
    <?php if ($notify['type'] === 'update') { ?>
        <div id="message" class="updated e2pdf-notice">
            <?php echo $notify['text']; ?>
        </div>
    <?php } elseif ($notify['type'] === 'error') { ?>
        <div id="message" class="error e2pdf-notice">
            <?php echo $notify['text']; ?>
        </div>
    <?php } elseif ($notify['type'] === 'notice') { ?>
         <div id="message" class="notice e2pdf-notice">
            <?php echo $notify['text']; ?>
        </div>
    <?php } ?>
<?php } ?>
```
