PluginProbe
Disable Comments & Delete All Comments / 1.1.3
Disable Comments & Delete All Comments v1.1.3
1.3.3 1.3.2 trunk 1.0.0 1.0.4 1.0.5 1.0.8 1.0.9 1.1.1 1.1.3 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.3.0 1.3.1
comments-plus / libs / factory / core / boot.php

boot.php in Disable Comments & Delete All Comments 1.1.3, at libs/factory/core/boot.php

74 lines 2.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Factory Plugin
4 *
5 * @author @author Alex Kovalev <alex.kovalevv@gmail.com>, repo: https://github.com/alexkovalevv
6 * @since 1.0.0
7 * @package core
8 * @copyright (c) 2018, Webcraftic Ltd
9 *
10 */
11
12 // Exit if accessed directly
13 if( !defined('ABSPATH') ) {
14 exit;
15 }
16
17 if( defined('FACTORY_446_LOADED') ) {
18 return;
19 }
20
21 define('FACTORY_446_LOADED', true);
22
23 define('FACTORY_446_VERSION', '4.4.6');
24
25 define('FACTORY_446_DIR', dirname(__FILE__));
26 define('FACTORY_446_URL', plugins_url(null, __FILE__));
27
28 load_plugin_textdomain('wbcr_factory_446', false, dirname(plugin_basename(__FILE__)) . '/langs');
29
30 #comp merge
31 require_once(FACTORY_446_DIR . '/includes/functions.php');
32
33 require_once(FACTORY_446_DIR . '/includes/entities/class-factory-paths.php');
34 require_once(FACTORY_446_DIR . '/includes/entities/class-factory-support.php');
35
36 require_once(FACTORY_446_DIR . '/includes/class-factory-requests.php');
37 require_once(FACTORY_446_DIR . '/includes/class-factory-options.php');
38 require_once(FACTORY_446_DIR . '/includes/class-factory-plugin-base.php');
39 require_once(FACTORY_446_DIR . '/includes/class-factory-migrations.php');
40 require_once(FACTORY_446_DIR . '/includes/class-factory-notices.php');
41
42 // ASSETS
43 require_once(FACTORY_446_DIR . '/includes/assets-managment/class-factory-assets-list.php');
44 require_once(FACTORY_446_DIR . '/includes/assets-managment/class-factory-script-list.php');
45 require_once(FACTORY_446_DIR . '/includes/assets-managment/class-factory-style-list.php');
46
47 // PREMIUM
48 require_once(FACTORY_446_DIR . '/includes/premium/class-factory-license-interface.php');
49 require_once(FACTORY_446_DIR . '/includes/premium/class-factory-provider-abstract.php');
50 require_once(FACTORY_446_DIR . '/includes/premium/class-factory-manager.php');
51
52 // UPDATES
53 require_once(FACTORY_446_DIR . '/includes/updates/repositories/class-factory-repository-abstract.php');
54 require_once(FACTORY_446_DIR . '/includes/updates/repositories/class-factory-wordpress.php');
55 require_once(FACTORY_446_DIR . '/includes/updates/repositories/class-factory-github.php');
56 require_once(FACTORY_446_DIR . '/includes/updates/class-factory-upgrader.php');
57 require_once(FACTORY_446_DIR . '/includes/updates/class-factory-premium-upgrader.php');
58
59 require_once(FACTORY_446_DIR . '/includes/class-factory-plugin-abstract.php');
60
61 require_once(FACTORY_446_DIR . '/includes/activation/class-factory-activator.php');
62 require_once(FACTORY_446_DIR . '/includes/activation/class-factory-update.php');
63 #endcomp
64
65 add_action('admin_enqueue_scripts', function () {
66 wp_enqueue_script('wfactory-446-core-general', FACTORY_446_URL . '/assets/js/core-general.js', [
67 'jquery'
68 ], FACTORY_446_VERSION);
69 wp_enqueue_script('wfactory-446-core-components', FACTORY_446_URL . '/assets/js/core-components.js', [
70 'jquery',
71 'wfactory-446-core-general'
72 ], FACTORY_446_VERSION);
73 });
74