| Server IP : 150.230.34.123 / Your IP : 216.73.217.23 Web Server : LiteSpeed System : Linux amd-instance-20210802-1657 5.15.0-1042-oracle #48~20.04.1-Ubuntu SMP Mon Aug 21 18:27:46 UTC 2023 x86_64 User : ubuntu ( 1001) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/lsws/aloysius/html/wp-content/plugins/neve-pro-addon/includes/modules/debug/ |
Upload File : |
<?php
/**
* Module Class for Debug module.
*
* Name: Debug fonts module.
*
* @version 1.0.0
* @package Neve Pro Addon
*/
namespace Neve_Pro\Modules\Debug;
use Neve_Pro\Core\Abstract_Module;
/**
* Class Module
*
* @package Neve_Pro\Modules\Debug
*/
class Module extends Abstract_Module {
/**
* Holds the base module namespace
* Used to load submodules.
*
* @var string $module_namespace
*/
private $module_namespace = 'Neve_Pro\Modules\Debug';
/**
* Define module properties.
*
* @access public
* @return void
* @property string $this->slug The slug of the module.
* @property string $this->name The pretty name of the module.
* @property string $this->description The description of the module.
* @property string $this->documentation Optional. Default array(). The documentation label and link.
* @property string $this->order Optional. Default 0. The order of display for the module.
* @property boolean $this->active Optional. Default `false`. The state of the module by default.
* @property array $this->links Optional. Default array(). Settings page label and link.
* @property array $this->dependent_plugins Optional. Default array(). Dependent plugins for this module.
* @property string $this->theme_min_version Optional. Default `2.3.10`. Dependent plugins for this module.
*
* @version 1.0.0
*/
public function define_module_properties() {
$this->slug = 'debug';
$this->name = 'Debug';
$this->description = 'Debug description.';
$this->documentation = [
'url' => 'https://docs.themeisle.com/',
'label' => 'Learn more',
];
$this->theme_min_version = '2.6';
$this->order = 0;
$this->options = [
[
'label' => 'Settings group 1',
'options' => [
'debug_module_toggle_1' => [
'label' => 'Toggle 1',
'type' => 'toggle',
'default' => true,
],
'debug_module_toggle_2' => [
'label' => 'Toggle 2',
'type' => 'toggle',
'default' => false,
],
'debug_module_input_1' => [
'label' => 'Input 1',
'type' => 'text',
'default' => '',
],
],
],
[
'label' => 'Settings group 2',
'options' => [
'debug_module_toggle_3' => [
'label' => 'Toggle 1',
'type' => 'toggle',
'default' => false,
],
'debug_module_toggle_4' => [
'label' => 'Toggle 2',
'type' => 'toggle',
'default' => true,
],
'debug_module_input_2' => [
'label' => 'Input 1',
'type' => 'text',
'default' => 'text',
'placeholder' => 'Placeholder',
],
],
],
];
}
/**
* Check if module should load.
*
* @return bool
*/
public function should_load() {
return $this->is_active();
}
/**
* Run Header Footer Grid Module
*/
public function run_module() {
return;
}
}