-
Notifications
You must be signed in to change notification settings - Fork 0
/
mytracker.php
45 lines (39 loc) · 1.4 KB
/
mytracker.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
39
40
41
42
43
44
45
<?php
/**
* Plugin Name: MyTracker
* Description: MyTracker is multi-platform analytics and attribution for mobile apps and websites.
* Version: 1.1.4
* Author: VK Team
* Author URI: https://vk.team
* Plugin URI: https://wordpress.org/plugins/mytracker/
* GitHub Plugin URI: https://github.com/mihdan/mytracker-wordpress
* Requires PHP: 7.4
* Requires at least: 5.6
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*
* @package mytracker
* @link https://top.mail.ru/help/ru/code/receive
* @link https://tracker.my.com/docs/sdk/web/api
* @link https://top.mail.ru/help/ru/api/jsapi
* @link https://top.mail.ru/help/ru/code/amp
* @link https://amp-wp.org/ecosystem/
* @link https://amp-wp.org/documentation/getting-started/analytics/
*/
namespace VK\MyTracker;
use Auryn\Injector;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'VK_MYTRACKER_VERSION', '1.1.4' );
define( 'VK_MYTRACKER_NAME', 'MyTracker' );
define( 'VK_MYTRACKER_PREFIX', 'mytracker' );
define( 'VK_MYTRACKER_SLUG', 'mytracker' );
define( 'VK_MYTRACKER_FILE', __FILE__ );
define( 'VK_MYTRACKER_DIR_URL', plugin_dir_url( __FILE__ ) );
define( 'VK_MYTRACKER_DIR_PATH', plugin_dir_path( __FILE__ ) );
define( 'VK_MYTRACKER_BASENAME', plugin_basename( __FILE__ ) );
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require_once __DIR__ . '/vendor/autoload.php';
}
( new Main( new Injector() ) )->init();