PATH:
home
/
letacommog
/
morandas1
/
wp-content
/
plugins
/
wp-whatsapp-chat
/
includes
/
controllers
<?php class QLWAPP_Welcome_Controller { protected static $instance; function add_menu() { add_menu_page(QLWAPP_PLUGIN_NAME, QLWAPP_PLUGIN_NAME, 'edit_posts', QLWAPP_DOMAIN, array($this, 'add_panel'), plugins_url('/assets/backend/img/icon.png', QLWAPP_PLUGIN_FILE)); add_submenu_page(QLWAPP_DOMAIN, esc_html__('Welcome', 'wp-whatsapp-chat'), esc_html__('Welcome', 'wp-whatsapp-chat'), 'edit_posts', QLWAPP_DOMAIN, array($this, 'add_panel')); } function add_panel() { global $submenu; include (QLWAPP_PLUGIN_DIR . '/includes/view/backend/pages/parts/header.php'); include (QLWAPP_PLUGIN_DIR . '/includes/view/backend/pages/welcome.php'); } function init() { add_action('admin_menu', array($this, 'add_menu')); } public static function instance() { if (!isset(self::$instance)) { self::$instance = new self(); self::$instance->init(); } return self::$instance; } } QLWAPP_Welcome_Controller::instance();
[+]
..
[-] ButtonController.php
[edit]
[-] DisplayController.php
[edit]
[-] PremiumController.php
[edit]
[-] SuggestionsController.php
[edit]
[-] BoxController.php
[edit]
[-] QLWAPP_Controller.php
[edit]
[-] SchemeController.php
[edit]
[-] WelcomeController.php
[edit]
[-] Display_services.php
[edit]
[-] ContactController.php
[edit]