PluginProbe
ShinyStat Analytics / 1.0.15
ShinyStat Analytics v1.0.15
1.0.17 trunk 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9
shinystat-analytics / shinystat-analytics.php

shinystat-analytics.php in ShinyStat Analytics 1.0.15, at shinystat-analytics.php

83 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * The plugin bootstrap file
5 *
6 * This file is read by WordPress to generate the plugin information in the plugin
7 * admin area. This file also includes all of the dependencies used by the plugin,
8 * registers the activation and deactivation functions, and defines a function
9 * that starts the plugin.
10 *
11 * @link https://www.shinystat.com
12 * @since 1.0.0
13 * @package Shinystat_Analytics
14 *
15 * @wordpress-plugin
16 * Plugin Name: ShinyStat Analytics
17 * Plugin URI: https://wordpress.org/plugins/shinystat-analytics/
18 * Description: Activate the plugin and start to use ShinyStat Web Analytics and On-site Marketing Automation tools.
19 * Version: 1.0.15
20 * Author: ShinyStat
21 * Author URI: https://www.shinystat.com
22 * License: GPL-2.0+
23 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
24 * Text Domain: shinystat-analytics
25 * Domain Path: /languages
26 */
27
28 // If this file is called directly, abort.
29 if ( ! defined( 'WPINC' ) ) {
30 die;
31 }
32
33 /**
34 * Currently plugin version.
35 * Start at version 1.0.0 and use SemVer - https://semver.org
36 * Rename this for your plugin and update it as you release new versions.
37 */
38 define( 'SHINYSTAT_ANALYTICS_VERSION', '1.0.15' );
39
40 /**
41 * The code that runs during plugin activation.
42 * This action is documented in includes/class-shinystat-analytics-activator.php
43 */
44 function activate_shinystat_analytics() {
45 require_once plugin_dir_path( __FILE__ ) . 'includes/class-shinystat-analytics-activator.php';
46 Shinystat_Analytics_Activator::activate();
47 }
48
49 /**
50 * The code that runs during plugin deactivation.
51 * This action is documented in includes/class-shinystat-analytics-deactivator.php
52 */
53 function deactivate_shinystat_analytics() {
54 require_once plugin_dir_path( __FILE__ ) . 'includes/class-shinystat-analytics-deactivator.php';
55 Shinystat_Analytics_Deactivator::deactivate();
56 }
57
58 register_activation_hook( __FILE__, 'activate_shinystat_analytics' );
59 register_deactivation_hook( __FILE__, 'deactivate_shinystat_analytics' );
60
61 /**
62 * The core plugin class that is used to define internationalization,
63 * admin-specific hooks, and public-facing site hooks.
64 */
65 require plugin_dir_path( __FILE__ ) . 'includes/class-shinystat-analytics.php';
66
67 /**
68 * Begins execution of the plugin.
69 *
70 * Since everything within the plugin is registered via hooks,
71 * then kicking off the plugin from this point in the file does
72 * not affect the page life cycle.
73 *
74 * @since 1.0.0
75 */
76 function run_shinystat_analytics() {
77
78 $plugin = new Shinystat_Analytics();
79 $plugin->run();
80
81 }
82 run_shinystat_analytics();
83