????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/./thread-self/root/home/tempvsty/eaabusiness.com/wp-content/plugins/qubely/core/ |
Upload File : |
<?php
// Exit if accessed directly
if (!defined('ABSPATH')) {
exit;
}
if (!class_exists('QUBELY_Options')) {
class QUBELY_Options
{
public $settings;
public function __construct()
{
add_action('init', [$this, 'init']);
add_action('admin_menu', [$this, 'admin_menu']);
}
public function init()
{
require __DIR__ . '/admin-views/Settings.php';
$this->settings = new QUBELY_Settings();
}
/**
* Add Menu Page Callback
*
* @since 1.0.0
*/
public function admin_menu()
{
$parent_slug = 'qubely-settings';
$cap = 'manage_options';
add_menu_page(
esc_html__('Qubely', 'qubely'),
esc_html__('Qubely', 'qubely'),
$cap,
$parent_slug,
[$this->settings, 'markup'],
QUBELY_DIR_URL . 'assets/img/qubely-logo-white.svg'
);
add_submenu_page(
$parent_slug,
esc_html__('Qubely Settings', 'qubely'),
esc_html__('Settings', 'qubely'),
$cap,
'qubely-settings',
[$this->settings, 'markup']
);
}
}
}