File: /var/www/epamokos.kaunokolegija.lt/wp-content/plugins/wp-user-frontend/Lib/WeDevs_Insights.php
<?php
namespace WeDevs\Wpuf\Lib;
if ( ! class_exists( 'WeDevs_Insights' ) ) :
/**
* weDevs Tracker
*
* This is a tracker class to track plugin usage based on if the customer has opted in.
* No personal information is being tracked by this class, only general settings, active plugins, environment details
* and admin email.
*
* @version 1.0
*
* @author Tareq Hasan <tareq@wedevs.com>
*/
class WeDevs_Insights {
/**
* @var object|Appsero\Insights
*/
public $insights;
/**
* Initialize the class
*/
public function __construct( $file ) {
$client = new Appsero\Client( '958afc63-99f8-4b98-b321-fcbc5cf95694', 'WP User Frontend', $file );
$this->insights = $client->insights();
$this->insights->client = $client;
$this->insights->init();
}
}
endif;