| Server IP : 185.143.233.238 / Your IP : 185.215.232.195 Web Server : nginx/1.22.1 System : Linux server2065 6.1.0-35-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.137-1 (2025-05-07) x86_64 User : www-data ( 33) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/cwd/wp-content/plugins/jet-engine/includes/dashboard/ |
Upload File : |
<?php
namespace Jet_Engine\Dashboard;
abstract class Base_Tab {
abstract public function slug();
abstract public function label();
abstract public function load_config();
public function condition() {
return true;
}
/**
* Render tab on this hook
* @return [type] [description]
*/
public function hook() {
return 'jet-engine/dashboard/tabs';
}
/**
* Returns assets needto be enqueued with this tab
* @return string|array
*/
public function assets() {
return 'jet-engine-tab-manager';
}
/**
* Render tab callback
* @return [type] [description]
*/
public function render_tab() {
?>
<cx-vui-tabs-panel
name="<?= $this->slug() ?>"
label="<?= $this->label() ?>"
key="<?= $this->slug() ?>"
>
<keep-alive>
<jet-engine-tab-<?= $this->slug() ?> />
</keep-alive>
</cx-vui-tabs-panel>
<?php
}
public function render_assets() {
}
}