| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package FireBox |
| 4 |
* @version 1.0.10 Free |
| 5 |
* |
| 6 |
* @author FirePlugins <info@fireplugins.com> |
| 7 |
* @link https://www.fireplugins.com |
| 8 |
* @copyright Copyright © 2022 FirePlugins All Rights Reserved |
| 9 |
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later |
| 10 |
*/ |
| 11 |
|
| 12 |
namespace FireBox\Core\Admin\Analytics\Overview\Items; |
| 13 |
|
| 14 |
if (!defined('ABSPATH')) |
| 15 |
{ |
| 16 |
exit; // Exit if accessed directly. |
| 17 |
} |
| 18 |
|
| 19 |
use FireBox\Core\Admin\Analytics\Overview\Item; |
| 20 |
|
| 21 |
class Pro extends Item |
| 22 |
{ |
| 23 |
/** |
| 24 |
* Returns all Overview Item data |
| 25 |
* |
| 26 |
* @return array |
| 27 |
*/ |
| 28 |
public function getItemData() |
| 29 |
{ |
| 30 |
$image = isset($this->overview_item_data['image']) ? $this->overview_item_data['image'] : ''; |
| 31 |
|
| 32 |
return [ |
| 33 |
'image' => $image, |
| 34 |
'message' => $this->overview_item_data['message'], |
| 35 |
'feature' => $this->overview_item_data['feature'], |
| 36 |
'class' => $this->overview_item_data['class'], |
| 37 |
]; |
| 38 |
} |
| 39 |
} |