-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjs_composer.php
42 lines (39 loc) · 1.06 KB
/
js_composer.php
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
<?php
/**
* Plugin Name: WPBakery Page Builder
* Plugin URI: https://wpbakery.com
* Description: Drag and drop page builder for WordPress. Take full control over your WordPress site, build any layout you can imagine – no programming knowledge required.
* Version: 7.9
* Author: Michael M - WPBakery.com
* Author URI: https://wpbakery.com
* Text Domain: js_composer
* Domain Path: /locale/
* Requires at least: 4.9
*
* @package WPBakery Page Builder
*/
// don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
/**
* Current WPBakery Page Builder version
*/
if ( ! defined( 'WPB_VC_VERSION' ) ) {
define( 'WPB_VC_VERSION', '7.9' );
}
define( 'WPB_PLUGIN_DIR', __DIR__ );
define( 'WPB_PLUGIN_FILE', __FILE__ );
require_once __DIR__ . '/include/classes/core/class-vc-manager.php';
/**
* Main WPBakery Page Builder manager.
*
* @var Vc_Manager $vc_manager - instance of composer management.
* @since 4.2
*/
global $vc_manager;
if ( ! $vc_manager ) {
$vc_manager = Vc_Manager::getInstance();
// Load components.
$vc_manager->loadComponents();
}