PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.0
Adminify – White Label, Admin Menu Editor, Login Customizer v4.0
4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 4.1.17 All 164 releases
adminify / Inc / Classes / Notifications / Latest_Updates.php

Latest_Updates.php in Adminify – White Label, Admin Menu Editor, Login Customizer 4.0, at Inc/Classes/Notifications/Latest_Updates.php

76 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace WPAdminify\Inc\Classes\Notifications;
4
5 use WPAdminify\Inc\Classes\Notifications\Model\Notice;
6
7 if (!class_exists('Latest_Updates')) {
8 /**
9 * Latest Pugin Updates Notice Class
10 *
11 * Jewel Theme <support@jeweltheme.com>
12 */
13 class Latest_Updates extends Notice
14 {
15
16 /**
17 * Latest Updates Notice
18 *
19 * @return void
20 */
21 public function __construct()
22 {
23 parent::__construct();
24 }
25
26
27 /**
28 * Notice Content
29 *
30 * @author Jewel Theme <support@jeweltheme.com>
31 */
32 public function notice_content()
33 {
34 $jltwp_adminify_changelog_message = sprintf(
35 __('%3$s %4$s %5$s %6$s %7$s %8$s <br> <strong>Check Changelogs for </strong> <a href="%1$s" target="__blank">%2$s</a>', 'adminify'),
36 esc_url_raw('https://wpadminify.com/what-is-new-in-wp-adminify-v4-0/'),
37 __('More about "WP Adminify" v4.0 ', 'adminify'),
38 /** Changelog Items
39 * Starts from: %3$s
40 */
41
42 '<h3 class="adminify-update-head">' . WP_ADMINIFY . ' <span><small><em>v' . esc_html(WP_ADMINIFY_VER) . '</em></small>' . __(' has some updates..', 'adminify') . '</span></h3><br>', // %3$s
43 __('<span class="dashicons dashicons-yes"></span> <span class="adminify-changes-list"> Horizontal Menu hide on Gutenberg Editor, Style issues fixed </span><br>', 'adminify'),
44 __('<span class="dashicons dashicons-yes"></span> <span class="adminify-changes-list"> RTL Accordion & Toggle Menu style issue fixed </span><br>', 'adminify'),
45 __('<span class="dashicons dashicons-yes"></span> <span class="adminify-changes-list"> Admin Pages - User roles display issue fixed </span><br>', 'adminify'),
46 __('<span class="dashicons dashicons-yes"></span> <span class="adminify-changes-list"> Google Fonts - Body Font not working issue fixed </span><br>', 'adminify'),
47 __('<span class="dashicons dashicons-yes"></span> <span class="adminify-changes-list"> Mini Mode Icon option added </span><br>', 'adminify')
48 );
49
50 printf(wp_kses_post($jltwp_adminify_changelog_message));
51 }
52
53 /**
54 * Notice Header
55 *
56 * @author Jewel Theme <support@jeweltheme.com>
57 */
58 public function notice_header() { ?>
59 <div class="hide-notice--ignored notice notice-wp-adminify is-dismissible notice-<?php echo esc_attr( $this->color ); ?> wp-adminify-notice-<?php echo esc_attr( $this->get_id() ); ?>">
60 <button type="button" class="notice-dismiss wp-adminify-notice-dismiss"></button>
61 <div class="notice-content-box">
62 <?php
63 }
64
65 /**
66 * Intervals
67 *
68 * @author Jewel Theme <support@jeweltheme.com>
69 */
70 public function intervals()
71 {
72 return array(0);
73 }
74 }
75 }
76