-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathwpmautic.php
More file actions
57 lines (46 loc) · 1.22 KB
/
wpmautic.php
File metadata and controls
57 lines (46 loc) · 1.22 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
* Plugin Name: WP Mautic
* Plugin URI: https://github.com/mautic/mautic-wordpress
* Contributors: mautic,hideokamoto,shulard,escopecz,dbhurley,macbookandrew,dogbytemarketing
* Description: This plugin will allow you to add Mautic (Free Open Source Marketing Automation) tracking to your site
* Version: 2.5.1
* Requires at least: 4.6
* Author: Mautic community
* Author URI: http://mautic.org
* Text Domain: wp-mautic
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*
* @package wp-mautic
*/
namespace Mautic\WP_Mautic;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
require plugin_dir_path( __FILE__ ) . 'vendor/autoload.php';
// Store plugin directory.
define( 'VPMAUTIC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
// Store plugin main file path.
define( 'VPMAUTIC_PLUGIN_FILE', __FILE__ );
class WP_Mautic {
/**
* Init
*
* @return void
*/
public function init() {
$this->load_dependencies();
}
/**
* Load dependencies
*
* @return void
*/
public function load_dependencies() {
$dependency_loader = new Dependency_Loader();
$dependency_loader->init();
}
}
$wp_mautic = new WP_Mautic();
$wp_mautic->init();