-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.php
57 lines (50 loc) · 1.18 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
53
54
55
56
57
<?php
/**
* Plugin Name: bbResolutions
* Plugin URI: https://github.com/nash-ye/bbresolutions
* Description: A bbPress plugin to let you set topic resolutions.
* Author: Nashwan Doaqan
* Author URI: https://profiles.wordpress.org/alex-ye/
* Version: 0.7
* Text Domain: bbresolutions
* Domain Path: /locales
*
* License: GPL2+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Copyright (c) 2014 - 2020 Nashwan Doaqan. All rights reserved.
*/
/**
* Plugin's version number.
*
* @var string
* @since 0.1
*/
define('bbResolutions\VERSION', '0.7');
/**
* Plugin's codename.
*
* @var string
* @since 0.1
*/
define('bbResolutions\CODENAME', 'dexter');
/**
* Plugin's directory URL.
*
* @var string
* @since 0.7
*/
define('bbResolutions\PLUGIN_URL', plugin_dir_url(__FILE__));
/**
* Plugin's directory path.
*
* @var string
* @since 0.7
*/
define('bbResolutions\PLUGIN_PATH', plugin_dir_path(__FILE__));
require trailingslashit(bbResolutions\PLUGIN_PATH) . 'freemius.php';
require trailingslashit(bbResolutions\PLUGIN_PATH) . 'vendor/autoload.php';
// Load Freemius
bbr_fs();
do_action('bbr_fs_loaded');
// Hey Dexter!
bbResolutions\Main::instance();