PluginProbe
WDesignKit – AI Templates, Widget Builder & MCP Workflow / 2.7.0
WDesignKit – AI Templates, Widget Builder & MCP Workflow v2.7.0
2.7.0 2.6.6 2.6.5 2.6.4 2.6.3 2.6.2 2.6.1 2.6.0 2.5.5 2.5.4 2.5.3 2.5.2 2.5.1 2.5.0 2.4.0 2.3.3 2.3.2 2.3.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 All 129 releases
wdesignkit / includes / admin / hooks / class-wdkit-dashboard-main.php

class-wdkit-dashboard-main.php in WDesignKit – AI Templates, Widget Builder & MCP Workflow 2.7.0, at includes/admin/hooks/class-wdkit-dashboard-main.php

65 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The file that defines the core plugin class
4 *
5 * @link https://posimyth.com/
6 * @since 1.1.1
7 *
8 * @package Wdesignkit
9 * @subpackage Wdesignkit/includes
10 */
11
12 /**
13 * Exit if accessed directly.
14 * */
15 if ( ! defined( 'ABSPATH' ) ) {
16 exit;
17 }
18
19 if ( ! class_exists( 'Wdkit_Dashboard_Main' ) ) {
20
21 /**
22 * It is wdesignkit Main Class
23 *
24 * @since 1.1.1
25 */
26 class Wdkit_Dashboard_Main {
27
28 /**
29 * Member Variable
30 *
31 * @var instance
32 */
33 private static $instance;
34
35 /**
36 * Initiator
37 */
38 public static function get_instance() {
39 if ( ! isset( self::$instance ) ) {
40 self::$instance = new self();
41 }
42
43 return self::$instance;
44 }
45
46 /**
47 * Define the core functionality of the plugin.
48 */
49 public function __construct() {
50 include WDKIT_INCLUDES . 'admin/hooks/class-wdkit-kit-import-hook.php';
51 include WDKIT_INCLUDES . 'admin/hooks/class-wdkit-import-temp-ajax.php';
52 include WDKIT_INCLUDES . 'admin/hooks/class-wdkit-copy-paste-ajax.php';
53 include WDKIT_INCLUDES . 'admin/hooks/class-wdkit-preset-ajax.php';
54 include WDKIT_INCLUDES . 'admin/hooks/class-wdkit-login-ajax.php';
55 include WDKIT_INCLUDES . 'admin/hooks/class-wdkit-widget-ajax.php';
56 include WDKIT_INCLUDES . 'admin/class-nexter-block-render.php';
57 include WDKIT_INCLUDES . 'admin/class-api.php';
58 include WDKIT_INCLUDES . 'admin/api/class-wdkit-code-snippet.php';
59 include WDKIT_INCLUDES . 'admin/api/class-wdkit-theme-builder.php';
60 include WDKIT_INCLUDES . 'admin/api/class-wdkit-empty-search-handling.php';
61 }
62 }
63
64 Wdkit_Dashboard_Main::get_instance();
65 }