__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace WP_Statistics\Abstracts;
abstract class UnlockedTabView
{
protected $tab;
protected $page;
public function __construct()
{
add_filter("wp_statistics_{$this->page}_{$this->tab}_locked", '__return_false');
add_filter("wp_statistics_{$this->page}_{$this->tab}_tooltip", [$this, 'getTooltip']);
add_action("wp_statistics_{$this->page}_{$this->tab}_template", [$this, 'view']);
add_action("wp_statistics_{$this->page}_{$this->tab}_data", [$this, 'getData']);
}
/**
* Returns the tooltip for the unlocked tab
* @return string
*/
abstract public function getTooltip();
/**
* Returns the data for the unlocked tab
*
* @return array
*/
public function getData()
{
return [];
}
/**
* Render the view
* @param mixed $args
* @return void
*/
abstract public function view($args);
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| BaseBackgroundProcess.php | File | 8.05 KB | 0644 |
|
| BaseMetabox.php | File | 6.38 KB | 0644 |
|
| BaseMigrationManager.php | File | 1.15 KB | 0644 |
|
| BaseMigrationOperation.php | File | 3.4 KB | 0644 |
|
| BaseModel.php | File | 4.54 KB | 0644 |
|
| BasePage.php | File | 2.01 KB | 0644 |
|
| BaseRestAPI.php | File | 2.95 KB | 0644 |
|
| BaseTabView.php | File | 1.9 KB | 0644 |
|
| BaseView.php | File | 458 B | 0644 |
|
| MultiViewPage.php | File | 2.63 KB | 0644 |
|
| UnlockedTabView.php | File | 936 B | 0644 |
|