X7ROOT File Manager
Current Path:
/home/iptvzxij/public_html/wp-content/plugins/wp-statistics/src/Decorators
home
/
iptvzxij
/
public_html
/
wp-content
/
plugins
/
wp-statistics
/
src
/
Decorators
/
📁
..
📄
BrowserDecorator.php
(1.08 KB)
📄
DeviceDecorator.php
(1.06 KB)
📄
EventDecorator.php
(1.13 KB)
📄
LocationDecorator.php
(1.62 KB)
📄
MarketingCampaignDecorator.php
(3.01 KB)
📄
NotificationDecorator.php
(4.09 KB)
📄
OsDecorator.php
(701 B)
📄
ReferralDecorator.php
(1.84 KB)
📄
ResourceDecorator.php
(523 B)
📄
UserDecorator.php
(2.22 KB)
📄
VisitorDecorator.php
(6.99 KB)
Editing: OsDecorator.php
<?php namespace WP_Statistics\Decorators; use WP_Statistics\Service\Analytics\DeviceDetection\DeviceHelper; class OsDecorator { private $visitor; public function __construct($visitor) { $this->visitor = $visitor; } /** * Get the operating system name * * @return string */ public function getName() { return \WP_STATISTICS\Admin_Template::unknownToNotSet($this->visitor->platform) ?? null; } /** * Get the operating system logo URL based on the visitor's platform. * * @return string */ public function getLogo() { return DeviceHelper::getPlatformLogo($this->visitor->platform); } }
Upload File
Create Folder