| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: MB Elementor Integration |
| 4 |
* Plugin URI: https://metabox.io/plugins/mb-elementor-integrator/ |
| 5 |
* Description: Integrates Meta Box and Elementor Page Builder. |
| 6 |
* Version: 2.2.5 |
| 7 |
* Author: MetaBox.io |
| 8 |
* Author URI: https://metabox.io |
| 9 |
* License: GPL2+ |
| 10 |
* |
| 11 |
* Copyright (C) 2010-2025 Tran Ngoc Tuan Anh. All rights reserved. |
| 12 |
* |
| 13 |
* This program is free software: you can redistribute it and/or modify |
| 14 |
* it under the terms of the GNU General Public License as published by |
| 15 |
* the Free Software Foundation, either version 2 of the License, or |
| 16 |
* (at your option) any later version. |
| 17 |
* |
| 18 |
* This program is distributed in the hope that it will be useful, |
| 19 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 |
* GNU General Public License for more details. |
| 22 |
* |
| 23 |
* You should have received a copy of the GNU General Public License |
| 24 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 25 |
*/ |
| 26 |
|
| 27 |
// Prevent loading this file directly. |
| 28 |
if ( ! defined( 'ABSPATH' ) ) { |
| 29 |
return; |
| 30 |
} |
| 31 |
|
| 32 |
if ( file_exists( __DIR__ . '/vendor' ) ) { |
| 33 |
require __DIR__ . '/vendor/autoload.php'; |
| 34 |
} |
| 35 |
|
| 36 |
if ( class_exists( 'MBEI\Loader' ) ) { |
| 37 |
new \MBEI\Loader(); |
| 38 |
} |
| 39 |
|