| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | if (!defined('ABSPATH')) { |
| 3 | 3 | die('Access denied.'); |
| 4 | 4 | } |
| 5 | 5 | ?> |
| 6 | -<?php foreach ($this->get_notifications() as $key => $notify) { ?> | |
| 6 | +<?php foreach ($this->get_notifications($this->get->get('notification')) as $key => $notify) { ?> | |
| 7 | 7 | <?php if ($notify['type'] === 'update') { ?> |
| 8 | 8 | <div id="message" class="e2pdf-notice notice notice-success is-dismissible"> |
| 9 | 9 | <p><?php echo wp_kses_post($notify['text']); ?></p> |
| 10 | 10 | </div> |