PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.3.2
Adminify – White Label, Admin Menu Editor, Login Customizer v4.3.2
4.3.2 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 All 165 releases
adminify / Inc / Modules / DismissNotices / Dismiss_Admin_Notices.php

Dismiss_Admin_Notices.php in Adminify – White Label, Admin Menu Editor, Login Customizer 4.3.2, at Inc/Modules/DismissNotices/Dismiss_Admin_Notices.php

38 lines 979 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace PXLBSAdminify\Inc\Modules\DismissNotices;
4
5 use PXLBSAdminify\Inc\Admin\AdminSettings;
6 use PXLBSAdminify\Inc\Admin\AdminSettingsModel;
7
8
9 // no direct access allowed
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit;
12 }
13
14 /**
15 * WP Adminify
16 * Module: Dismiss Admin Notices
17 *
18 * @author Jewel Theme <support@jeweltheme.com>
19 */
20
21 if ( ! class_exists( 'Dismiss_Admin_Notices' ) ) {
22 /**
23 * Base class for the Dismiss Admin Notices module. The free build
24 * has no admin-notice handlers of its own — every concrete handler
25 * (welcome_panel, php_nag, core/plugin/theme update notices,
26 * site_health, and the hide-notices stack) lives in
27 * Pro/Classes/DismissNotice_Pro.php which extends this class.
28 *
29 * Kept as an empty base so DismissNotice_Pro continues to extend
30 * a known free-side class.
31 */
32 class Dismiss_Admin_Notices extends AdminSettingsModel {
33 public function __construct() {
34 $this->options = (array) AdminSettings::get_instance()->get();
35 }
36 }
37 }
38