*/ class WPUF_WeDevs_Insights { /** * Initialize the class */ public function __construct( $file ) { if ( ! class_exists( 'Appsero\Client' ) ) { require_once __DIR__ . '/appsero/Client.php'; } $client = new Appsero\Client( '958afc63-99f8-4b98-b321-fcbc5cf95694', 'WP User Frontend', $file ); $this->insights = $client->insights(); // Active insights $this->insights->init(); } } endif;