forked from aristath/kirki-telemetry-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepack-telemetry-server.php
38 lines (33 loc) · 1.12 KB
/
repack-telemetry-server.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* Plugin Name: RePack Telemetry Server
* Plugin URI: https://WeRePack.org/
* Description: Gathering anonymous data from sites using the RePack plugin and providing some useful stats and insights.
* Author: Philipp Wellmer
* Author URI: http://werepack.org
* Version: 2.0.1
* Text Domain: repack-ts
*
* GitHub Plugin URI: https://github.com/WeRePack/repack-telemetry-server
*
* @package RePack Telemetry Server
* @author Ari Stathopoulos
* @author Philipp Wellmer
* @copyright Copyright (c) 2019, Aristeides Stathopoulos
* @copyright Copyright (c) 2021, Philipp Wellmer
* @license https://opensource.org/licenses/GPL-2.0
* @since 1.0
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Load files
require_once __DIR__ . '/inc/post-type.php';
require_once __DIR__ . '/inc/class-DownloadRemoteImage.php';
require_once __DIR__ . '/inc/class-GetSupporterSite.php';
require_once __DIR__ . '/inc/class-LogSupporterSite.php';
// Init
new RePack_Telemetry_Server\LogSupporterSite();
new RePack_Telemetry_Server\GetSupporterSite();
// phpcs:enable