-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclickwise.php
More file actions
37 lines (31 loc) · 1023 Bytes
/
clickwise.php
File metadata and controls
37 lines (31 loc) · 1023 Bytes
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
<?php
/**
* Plugin Name: Clickwise
* Plugin URI: https://github.com/webspirio/clickwise-wp
* Description: An advanced event manager for WordPress with seamless Rybbit and Google Analytics integration.
* Version: 2.0.0
* Author: Webspirio (Oleksandr Chornous)
* Author URI: https://webspirio.com/
* Contact: contact@webspirio.com
* License: GPLv2 or later
* Text Domain: clickwise
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
// Define plugin constants
define( 'CLICKWISE_VERSION', '2.0.0' );
define( 'CLICKWISE_PATH', plugin_dir_path( __FILE__ ) );
define( 'CLICKWISE_URL', plugin_dir_url( __FILE__ ) );
// Include the main class
require_once CLICKWISE_PATH . 'includes/class-clickwise-analytics.php';
/**
* Begins execution of the plugin.
*/
function run_clickwise_analytics_wordpress() {
$plugin = new Clickwise_Analytics();
$plugin->run();
}
register_activation_hook( __FILE__, array( 'Clickwise_Analytics', 'activate' ) );
run_clickwise_analytics_wordpress();