PluginProbe
RabbitLoader / 3.2.0
RabbitLoader v3.2.0
4.0.2 4.0.1 4.0 3.2.0 3.1.1 3.1.0 3.0.5 3.0.3 3.0.4 2.17.1 2.17.2 2.17.3 2.17.4 2.17.5 2.17.6 2.17.7 2.18.0 2.18.1 2.18.2 2.18.3 2.18.4 2.18.5 2.18.6 2.18.7 2.18.8 All 129 releases
rabbit-loader / autoload.php

autoload.php in RabbitLoader 3.2.0, at autoload.php

35 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 define('RABBITLOADER_PLUG_DIR', plugin_dir_path(__FILE__));
4 define('RABBITLOADER_CACHE_DIR', WP_CONTENT_DIR . DIRECTORY_SEPARATOR . "rabbitloader");
5 define('RABBITLOADER_PLUG_URL', plugin_dir_url(__FILE__));
6 define('RABBITLOADER_PLUG_VERSION', '3.0.5');
7 define('RABBITLOADER_TEXT_DOMAIN', 'rabbit-loader');
8 define('RABBITLOADER_PLUG_ENV', 'PROD');
9 if (!defined('JSON_INVALID_UTF8_IGNORE')) {
10 define('JSON_INVALID_UTF8_IGNORE', 0); //@since PHP 7.2
11 }
12 include_once(RABBITLOADER_PLUG_DIR . 'inc/core/core.php');
13 include_once(RABBITLOADER_PLUG_DIR . 'inc/core/util.php');
14 include_once(RABBITLOADER_PLUG_DIR . 'inc/core/integrations.php');
15 include_once(RABBITLOADER_PLUG_DIR . 'inc/rl_can_url.php');
16 include_once(RABBITLOADER_PLUG_DIR . 'inc/public.php');
17 include_once(RABBITLOADER_PLUG_DIR . 'inc/util_wp.php');
18
19 if (is_admin()) {
20 include_once(RABBITLOADER_PLUG_DIR . 'inc/ad_ad.php');
21 include_once(RABBITLOADER_PLUG_DIR . 'inc/admin.php');
22 include_once(RABBITLOADER_PLUG_DIR . 'inc/conflicts.php');
23 include_once(RABBITLOADER_PLUG_DIR . 'inc/tab_init.php');
24 include_once(RABBITLOADER_PLUG_DIR . 'inc/tab_home.php');
25 include_once(RABBITLOADER_PLUG_DIR . 'inc/tab_urls.php');
26 include_once(RABBITLOADER_PLUG_DIR . 'inc/tab_usage.php');
27 include_once(RABBITLOADER_PLUG_DIR . 'inc/tab_help.php');
28 include_once(RABBITLOADER_PLUG_DIR . 'inc/tab_settings.php');
29 include_once(RABBITLOADER_PLUG_DIR . 'inc/tab_exclusions.php');
30 include_once(RABBITLOADER_PLUG_DIR . 'inc/tab_log.php');
31 include_once(RABBITLOADER_PLUG_DIR . 'inc/tab_css.php');
32 }
33
34 RabbitLoader_21_Public::addActions();
35