-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbm-event.php
45 lines (38 loc) · 957 Bytes
/
bm-event.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
43
44
45
<?php
/**
* Plugin Name: BM Event
* Plugin URI: https://bernskioldmedia.com
* Description: Functionality to help you market and manage an event. From showing speakers to a live agenda for one or multiple days.
* Version: 1.2.4
* Author: Bernskiold Media
* Author URI: https://bernskioldmedia.com
* Text Domain: bm-event
* Domain Path: /languages/
*
* @package BernskioldMedia\WP\Event
*/
use BernskioldMedia\WP\Event\Plugin;
defined( 'ABSPATH' ) || exit;
/**
* Autoloader
*/
require_once 'autoloader.php';
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
require __DIR__ . '/vendor/autoload.php';
}
if ( file_exists( WP_CONTENT_DIR . '/vendor/autoload.php' ) ) {
require_once WP_CONTENT_DIR . '/vendor/autoload.php';
}
/**
* Basic Constants
*/
define( 'BM_EVENT_FILE_PATH', __FILE__ );
/**
* Initialize and boot the plugin.
*
* @return Plugin
*/
function bm_event() {
return Plugin::instance();
}
bm_event();