forked from surveywp/kk-star-ratings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
47 lines (42 loc) · 1.57 KB
/
index.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
46
47
<?php
/**
* Plugin Name: kk Star Ratings
* Plugin URI: https://github.com/kamalkhan/kk-star-ratings
* Description: Allow blog visitors to involve and interact more effectively with your website by rating posts.
* Author: Kamal Khan
* Author URI: http://bhittani.com
* Text Domain: kk-star-ratings
* Domain Path: /languages
* Version: 3.1.2
* License: GPLv2 or later
*
* @package Bhittani\StarRating
*/
if (! defined('ABSPATH')) {
http_response_code(404);
die();
}
define('KKSR_FILE', __FILE__);
define('KKSR_PLUGIN', plugin_basename(KKSR_FILE));
define('KKSR_VERSION', '3.1.2');
define('KKSR_PREFIX', 'kksr_');
define('KKSR_SLUG', 'kk-star-ratings');
define('KKSR_LABEL', 'kk Star Ratings');
define('KKSR_SHORTCODE', 'kkstarratings');
define('KKSR_NAMESPACE', 'Bhittani\StarRating\\');
define('KKSR_PATH', plugin_dir_path(KKSR_FILE));
define('KKSR_PATH_SRC', KKSR_PATH . 'src/');
define('KKSR_PATH_VIEWS', KKSR_PATH . 'views/');
define('KKSR_PATH_PUBLIC', KKSR_PATH . 'public/');
define('KKSR_URI', plugin_dir_url(KKSR_FILE) . 'public/');
require_once KKSR_PATH . 'freemius.php';
require_once KKSR_PATH_SRC . 'functions.php';
require_once KKSR_PATH_SRC . 'activate.php';
require_once KKSR_PATH_SRC . 'enqueue.php';
require_once KKSR_PATH_SRC . 'markup.php';
require_once KKSR_PATH_SRC . 'admin.php';
require_once KKSR_PATH_SRC . 'metabox.php';
require_once KKSR_PATH_SRC . 'ajax.php';
require_once KKSR_PATH_SRC . 'structure.php';
require_once KKSR_PATH_SRC . 'shortcode.php';
require_once KKSR_PATH_SRC . 'legacy.php';