forked from billerickson/BE-Events-Calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbe-events-calendar.php
43 lines (40 loc) · 1.64 KB
/
be-events-calendar.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
<?php
/**
* Plugin Name: BE Events Calendar
* Description: Allows you to manage events.
* Version: 1.4.0
* Author: Bill Erickson
* Text Domain: be-events-calendar
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2, as published by the
* Free Software Foundation. You may NOT assume that you can use any other
* version of the GPL.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE.
*
* @package BE-Events-Calendar
* @since 1.0.0
* @link https://github.com/billerickson/BE-Events-Calendar
* @author Bill Erickson <[email protected]>
* @copyright Copyright (c) 2014, Bill Erickson
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
// Define plugin constants
define( 'BE_EVENTS_CALENDAR_VERSION', '1.4.0' );
define( 'BE_EVENTS_CALENDAR_DIR', plugin_dir_path( __FILE__ ) );
define( 'BE_EVENTS_CALENDAR_URL', plugin_dir_url( __FILE__ ) );
define( 'BE_EVENTS_CALENDAR_FILE', __FILE__ );
// Include files
require_once BE_EVENTS_CALENDAR_DIR . 'inc/events.php';
require_once BE_EVENTS_CALENDAR_DIR . 'inc/events-recurring.php';
require_once BE_EVENTS_CALENDAR_DIR . 'inc/widget-upcoming-events.php';
require_once BE_EVENTS_CALENDAR_DIR . '/inc/widget-calendar.php';
require_once BE_EVENTS_CALENDAR_DIR . 'inc/genesis-schema.php';
require_once BE_EVENTS_CALENDAR_DIR . 'inc/view-calendar.php';