-
Notifications
You must be signed in to change notification settings - Fork 1
/
azrcrv-icons.php
101 lines (86 loc) · 2.94 KB
/
azrcrv-icons.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
/**
* ------------------------------------------------------------------------------
* Plugin Name: Icons
* Description: Allows icons to be added to posts and pages using a shortcode.
* Version: 2.1.1
* Author: azurecurve
* Author URI: https://development.azurecurve.co.uk/classicpress-plugins/
* Plugin URI: https://development.azurecurve.co.uk/classicpress-plugins/icons/
* Text Domain: azrcrv-i
* Domain Path: /languages
* ------------------------------------------------------------------------------
* This is free software released under the terms of the General Public License,
* version 2, or later. It is distributed WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Full
* text of the license is available at https://www.gnu.org/licenses/gpl-2.0.html.
* ------------------------------------------------------------------------------
*/
/**
* Declare the Namespace.
*/
namespace azurecurve\Icons;
/**
* Define constants.
*/
const DEVELOPER_SHORTNAME = 'azurecurve';
const DEVELOPER_NAME = DEVELOPER_SHORTNAME . ' | Development';
const DEVELOPER_URL_RAW = 'https://development.azurecurve.co.uk/classicpress-plugins/';
const DEVELOPER_URL = '<a href="' . DEVELOPER_URL_RAW . '">' . DEVELOPER_NAME . '</a>';
const PLUGIN_NAME = 'Icons';
const PLUGIN_SHORT_SLUG = 'icons';
const PLUGIN_SLUG = 'azrcrv-' . PLUGIN_SHORT_SLUG;
const PLUGIN_HYPHEN = 'azrcrv-i';
const PLUGIN_UNDERSCORE = 'azrcrv_i';
const PLUGIN_FILE = __FILE__;
/**
* Prevent direct access.
*/
if ( ! defined( 'ABSPATH' ) ) {
die();
}
/**
* Include plugin Menu Client.
*/
require_once dirname( PLUGIN_FILE ) . '/includes/azurecurve-menu-populate.php';
require_once dirname( PLUGIN_FILE ) . '/includes/azurecurve-menu-display.php';
/**
* Include Update Client.
*/
require_once dirname( PLUGIN_FILE ) . '/libraries/updateclient/UpdateClient.class.php';
/**
* Include setup of registration activation hook, actions, filters and shortcodes.
*/
require_once dirname( PLUGIN_FILE ) . '/includes/setup.php';
/**
* Load styles functions.
*/
require_once dirname( PLUGIN_FILE ) . '/includes/functions-styles.php';
/**
* Load scripts functions.
*/
require_once dirname( PLUGIN_FILE ) . '/includes/functions-scripts.php';
/**
* Load menu functions.
*/
require_once dirname( PLUGIN_FILE ) . '/includes/functions-menu.php';
/**
* Load language functions.
*/
require_once dirname( PLUGIN_FILE ) . '/includes/functions-language.php';
/**
* Load plugin image functions.
*/
require_once dirname( PLUGIN_FILE ) . '/includes/functions-plugin-images.php';
/**
* Load settings functions.
*/
require_once dirname( PLUGIN_FILE ) . '/includes/functions-settings.php';
/**
* Load plugin functionality.
*/
require_once dirname( PLUGIN_FILE ) . '/includes/plugin-functionality.php';
/**
* Load backward compatibility.
*/
require_once dirname( PLUGIN_FILE ) . '/includes/plugin-backward-compatibility.php';