File Editor
Directories:
.. (Back)
assets
includes
languages
src
Files:
changelog-old.txt
gulpfile.js
license.txt
readme.txt
wp-statistics.php
Create New File
Create
Edit File: wp-statistics.php
<?php /** * Plugin Name: WP Statistics * Plugin URI: https://wp-statistics.com/ * Description: This plugin gives you the complete information on your website's visitors. * Version: 14.2 * Author: VeronaLabs * Author URI: https://veronalabs.com/ * Text Domain: wp-statistics * Domain Path: /languages */ # Exit if accessed directly if (!defined('ABSPATH')) exit; # Load Plugin Defines require_once __DIR__ . '/includes/defines.php'; # Include some empty class to make sure they are existed while upgrading plugin. require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-updates.php'; require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics-welcome.php'; # Load Plugin if (!class_exists('WP_Statistics')) { require_once WP_STATISTICS_DIR . 'includes/class-wp-statistics.php'; } # Returns the main instance of WP Statistics. function WP_Statistics() { return WP_Statistics::instance(); } # Global for backwards compatibility. $GLOBALS['WP_Statistics'] = WP_Statistics();
Save Changes
Rename File
Rename