����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace WP_Business_Reviews_Bundle\Includes;
use WP_Business_Reviews_Bundle\Includes\Admin\Admin_Menu;
use WP_Business_Reviews_Bundle\Includes\Admin\Admin_Tophead;
use WP_Business_Reviews_Bundle\Includes\Admin\Admin_Notice;
use WP_Business_Reviews_Bundle\Includes\Admin\Admin_Collection_Columns;
use WP_Business_Reviews_Bundle\Includes\Core\Database;
use WP_Business_Reviews_Bundle\Includes\Core\Core;
use WP_Business_Reviews_Bundle\Includes\Core\Connect_Google;
use WP_Business_Reviews_Bundle\Includes\Core\Connect_Yelp;
final class Plugin {
protected $plugin_name;
protected $version;
protected $activator;
public function __construct() {
$this->plugin_name = 'business-reviews-bundle';
$this->version = BRB_VERSION;
}
public function register() {
register_activation_hook(BRB_PLUGIN_FILE, array($this, 'activate'));
register_deactivation_hook(BRB_PLUGIN_FILE, array($this, 'deactivate'));
add_action('plugins_loaded', array($this, 'register_services'));
}
public function register_services() {
$this->init_language();
$database = new Database();
$activator = new Activator($database);
$activator->register();
$license = new License();
$debug_info = new Debug_Info($activator);
$assets = new Assets(BRB_ASSETS_URL, $this->version);
$assets->register();
$post_types = new Post_Types();
$post_types->register();
$collection_deserializer = new Collection_Deserializer(new \WP_Query());
$collection_page = new Collection_Page($collection_deserializer);
$collection_page->register();
$core = new Core();
$view = new View();
$builder_page = new Builder_Page($collection_deserializer, $core, $view);
$builder_page->register();
$collection_shortcode = new Collection_Shortcode($collection_deserializer, $core, $view, $assets);
$collection_shortcode->register();
Collection_Widget::$static_collection_deserializer = $collection_deserializer;
Collection_Widget::$static_core = $core;
Collection_Widget::$static_view = $view;
Collection_Widget::$static_assets = $assets;
add_action('widgets_init', function() {
register_widget('WP_Business_Reviews_Bundle\Includes\Collection_Widget');
});
$connect_google = new Connect_Google();
$connect_yelp = new Connect_Yelp();
$request_handler = new Request_Handler($collection_shortcode, $assets);
$request_handler->register();
if (is_admin()) {
$collection_serializer = new Collection_Serializer();
$admin_notice = new Admin_Notice();
$admin_notice->register();
$admin_menu = new Admin_Menu();
$admin_menu->register();
$admin_tophead = new Admin_Tophead();
$admin_tophead->register();
$admin_collection_columns = new Admin_Collection_Columns($collection_deserializer);
$admin_collection_columns->register();
$settings_save = new Settings_Save($activator);
$settings_save->register();
$plugin_settings = new Plugin_Settings($debug_info);
$plugin_settings->register();
$plugin_support = new Plugin_Support();
$plugin_support->register();
}
}
public function init_language() {
load_plugin_textdomain('brb', false, basename(dirname(BRB_PLUGIN_FILE)) . '/languages');
}
public function activate($network_wide = false) {
add_option('brb_is_multisite', $network_wide);
$activator = new Activator(new Database());
$activator->activate();
}
public function deactivate() {
$deactivator = new Deactivator();
$deactivator->deactivate();
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| admin | Folder | 0755 |
|
|
| core | Folder | 0755 |
|
|
| license | Folder | 0755 |
|
|
| class-activator.php | File | 6.21 KB | 0644 |
|
| class-assets.php | File | 5.68 KB | 0644 |
|
| class-builder-page.php | File | 6.52 KB | 0644 |
|
| class-collection-deserializer.php | File | 1.16 KB | 0644 |
|
| class-collection-page.php | File | 922 B | 0644 |
|
| class-collection-serializer.php | File | 861 B | 0644 |
|
| class-collection-shortcode.php | File | 1.37 KB | 0644 |
|
| class-collection-widget.php | File | 4.28 KB | 0644 |
|
| class-deactivator.php | File | 135 B | 0644 |
|
| class-debug-info.php | File | 2.53 KB | 0644 |
|
| class-license.php | File | 2.65 KB | 0644 |
|
| class-plugin-settings.php | File | 21.12 KB | 0644 |
|
| class-plugin-support.php | File | 22.57 KB | 0644 |
|
| class-plugin.php | File | 3.81 KB | 0644 |
|
| class-post-types.php | File | 3.72 KB | 0644 |
|
| class-request-handler.php | File | 2.31 KB | 0644 |
|
| class-settings-save.php | File | 14.12 KB | 0644 |
|
| class-view.php | File | 59.98 KB | 0644 |
|
| error_log | File | 1.12 KB | 0644 |
|