PluginProbe
E2Pdf – Export Pdf Tool for WordPress / trunk
E2Pdf – Export Pdf Tool for WordPress vtrunk
1.32.48 1.32.43 1.32.40 1.32.34 1.32.32 1.32.31 1.32.26 1.32.22 1.32.23 1.32.18 1.32.17 1.32.15 trunk 1.00.00 1.00.13 1.01.01 1.02.02 1.03.07 1.04.07 1.05.03 1.06.02 1.07.11 1.08.00 1.08.06 1.08.09 All 71 releases
e2pdf / classes / view / blocks / notifications.php

notifications.php in E2Pdf – Export Pdf Tool for WordPress trunk, at classes/view/blocks/notifications.php

20 lines 881 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) {
3 die('Access denied.');
4 }
5 ?>
6 <?php foreach ($this->get_notifications($this->get->get('notification')) as $key => $notify) { ?>
7 <?php if ($notify['type'] === 'update') { ?>
8 <div id="message" class="e2pdf-notice notice notice-success is-dismissible">
9 <p><?php echo wp_kses_post($notify['text']); ?></p>
10 </div>
11 <?php } elseif ($notify['type'] === 'error') { ?>
12 <div id="message" class="e2pdf-notice notice notice-error is-dismissible">
13 <p><b><?php echo __('[ERROR]', 'e2pdf'); ?></b> <?php echo wp_kses_post($notify['text']); ?></p>
14 </div>
15 <?php } elseif ($notify['type'] === 'notice') { ?>
16 <div id="message" class="e2pdf-notice notice notice-warning is-dismissible">
17 <p><?php echo wp_kses_post($notify['text']); ?></p>
18 </div>
19 <?php } ?>
20 <?php } ?>