-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.php
52 lines (45 loc) · 1.08 KB
/
main.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
<?php
/*
* Plugin Name: Better Footnotes
* Description: Simple yet powerful footnotes integration on your WordPress site.
* Version: 1.3
* Author: Nashwan Doaqan
* Author URI: https://profiles.wordpress.org/alex-ye/
* Text Domain: better-footnotes
* Domain Path: /locales
*
* This plugin is based on Advanced Footnotes plugin v1.1.2 by Yunus Tabakoğlu.
*/
/**
* Plugin's version.
*
* @var float
* @since 1.0
*/
define('BetterFootnotes\PLUGIN_VERSION', '1.3');
/**
* Plugin's codename.
*
* @var string
* @since 1.0
*/
define('BetterFootnotes\PLUGIN_CODENAME', 'better_footnotes');
/**
* Plugin's directory URL.
*
* @var string
* @since 1.0
*/
define('BetterFootnotes\PLUGIN_URL', plugin_dir_url(__FILE__));
/**
* Plugin's directory path.
*
* @var string
* @since 1.0
*/
define('BetterFootnotes\PLUGIN_PATH', plugin_dir_path(__FILE__));
require trailingslashit(BetterFootnotes\PLUGIN_PATH) . 'vendor/autoload.php';
BetterFootnotes\Main::instance();
if (is_admin()) {
BetterFootnotes\Admin::instance();
}