PluginProbe
Debug Log Viewer / 2.5
Debug Log Viewer v2.5
2.5 2.5.1 2.5.2 2.4 trunk 1.0.2 1.0.3 1.1 1.1.1 1.2 1.2.1 1.3 1.4 1.4.1 1.4.2 1.4.3 2.0.1 2.0.3 2.0.4 2.0.5 2.1 2.2.3
debug-log-viewer / debug-log-viewer.php

debug-log-viewer.php in Debug Log Viewer 2.5, at debug-log-viewer.php

42 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace DebugLogViewer;
4
5 /**
6 * Plugin Name: Debug Log Viewer
7 * Description: Effortlessly view, search, and manage your WordPress debug.log in the admin dashboard. Real-time monitoring, email alerts, and filtering.
8 * Author: lysyiweb
9 * Version: 2.5
10 * Tags: wp_debug, debugging, error log, debug
11 * Requires PHP: 7.2
12 * Tested up to: 7.1
13 * Stable tag: 2.5
14 * License: GPLv2 or later
15 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
16 */
17 if (!defined('ABSPATH')) {
18 exit;
19 }
20
21 use DebugLogViewer\Admin\Helpers\Constants;
22 use DebugLogViewer\Admin\Controllers\MenuController;
23 use DebugLogViewer\Admin\Controllers\HooksController;
24 use DebugLogViewer\Admin\Controllers\FreemiusController;
25 use DebugLogViewer\Admin\Controllers\CleanupController;
26
27 require_once realpath(__DIR__) . '/admin/helpers/constants.php';
28 require_once realpath(__DIR__) . '/admin/translations/phrases.php';
29
30 foreach (Constants::CONTROLLERS_LIST as $controller) {
31 require_once realpath(__DIR__) . "/admin/controllers/{$controller}Controller.php";
32 }
33
34
35 // Initialize controllers after WordPress is fully loaded
36 add_action('init', function () {
37 ( new MenuController() )->init();
38 ( new HooksController() )->init();
39 ( new CleanupController() )->init();
40 });
41
42 (new FreemiusController())->init();