-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmib.php
More file actions
44 lines (32 loc) · 955 Bytes
/
mib.php
File metadata and controls
44 lines (32 loc) · 955 Bytes
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
<?php
/**
* Plugin Name: MIB Wordpress Connector
* Plugin URI: https://lionstack.hu
* Description: A plugin képes az ingatlanokat különböző szűrési feltételek mellett megjeleníteni
* Version: v3.5.8
* Author: Codefusion Kft.
* Author URI: https://lionstack.hu
**/
defined('ABSPATH') or die('nem kéne..');
if (!defined('MIB_VERSION')) {
define('MIB_VERSION', 'v3.6.0');
}
if (file_exists(dirname(__FILE__) . "/vendor/autoload.php")) {
require_once dirname(__FILE__) . "/vendor/autoload.php";
}
if (!class_exists('WP_List_Table')) {
require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
}
function Mibactivate()
{
Inc\Base\MibActivate::activate();
}
function Mibdeactivate()
{
Inc\Base\MibDeactivate::deactivate();
}
register_activation_hook(__FILE__, 'Mibactivate');
register_deactivation_hook(__FILE__, 'Mibdeactivate');
if (class_exists('Inc\\MibInitial')) {
Inc\MibInitial::MibServiceRegister();
}