HEX
Server: Apache/2
System: Linux s01 6.1.0-34-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.135-1 (2025-04-25) x86_64
User: beestg (1003)
PHP: 8.3.25
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/beestg/public_html/wp-content/plugins/mailpoet/vendor/mixpanel/mixpanel-php/lib/Mixpanel.php
<?php
if (!defined('ABSPATH')) exit;
require_once(dirname(__FILE__) . "/Base/MixpanelBase.php");
require_once(dirname(__FILE__) . "/Producers/MixpanelPeople.php");
require_once(dirname(__FILE__) . "/Producers/MixpanelEvents.php");
require_once(dirname(__FILE__) . "/Producers/MixpanelGroups.php");
class Mixpanel extends Base_MixpanelBase {
 public $people;
 private $_events;
 public $group;
 private static $_instances = array();
 public function __construct($token, $options = array()) {
 parent::__construct($options);
 $this->people = new Producers_MixpanelPeople($token, $options);
 $this->_events = new Producers_MixpanelEvents($token, $options);
 $this->group = new Producers_MixpanelGroups($token, $options);
 }
 public static function getInstance($token, $options = array()) {
 if(!isset(self::$_instances[$token])) {
 self::$_instances[$token] = new Mixpanel($token, $options);
 }
 return self::$_instances[$token];
 }
 public function enqueue($message = array()) {
 $this->_events->enqueue($message);
 }
 public function enqueueAll($messages = array()) {
 $this->_events->enqueueAll($messages);
 }
 public function flush($desired_batch_size = 50) {
 $this->_events->flush($desired_batch_size);
 }
 public function reset() {
 $this->_events->reset();
 }
 public function identify($user_id, $anon_id = null) {
 $this->_events->identify($user_id, $anon_id);
 }
 public function track($event, $properties = array()) {
 $this->_events->track($event, $properties);
 }
 public function register($property, $value) {
 $this->_events->register($property, $value);
 }
 public function registerAll($props_and_vals = array()) {
 $this->_events->registerAll($props_and_vals);
 }
 public function registerOnce($property, $value) {
 $this->_events->registerOnce($property, $value);
 }
 public function registerAllOnce($props_and_vals = array()) {
 $this->_events->registerAllOnce($props_and_vals);
 }
 public function unregister($property) {
 $this->_events->unregister($property);
 }
 public function unregisterAll($properties) {
 $this->_events->unregisterAll($properties);
 }
 public function getProperty($property)
 {
 return $this->_events->getProperty($property);
 }
 public function createAlias($distinct_id, $alias) {
 $this->_events->createAlias($distinct_id, $alias);
 }
}