whoami7 - Manager
:
/
home
/
techyfnq
/
public_html
/
wp-content
/
plugins
/
mailpoet
/
lib
/
API
/
JSON
/
v1
/
Upload File:
files >> //home/techyfnq/public_html/wp-content/plugins/mailpoet/lib/API/JSON/v1/Analytics.php
<?php namespace MailPoet\API\JSON\v1; if (!defined('ABSPATH')) exit; use MailPoet\Analytics\Reporter; use MailPoet\API\JSON\Endpoint as APIEndpoint; use MailPoet\Config\AccessControl; class Analytics extends APIEndpoint { /** @var Reporter */ private $reporter; public $permissions = [ 'global' => AccessControl::NO_ACCESS_RESTRICTION, ]; public function __construct( Reporter $reporter ) { $this->reporter = $reporter; } public function getTrackingData() { return $this->successResponse($this->reporter->getTrackingData()); } }
Copyright ©2021 || Defacer Indonesia