-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbandstand.php
59 lines (55 loc) · 1.95 KB
/
bandstand.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/**
* Main plugin file.
*
* @package Bandstand
* @copyright Copyright (c) 2016, AudioTheme, LLC
* @license GPL-2.0+
* @link https://audiotheme.com/
* @since 1.0.0
*
* @wordpress-plugin
* Plugin Name: Bandstand
* Plugin URI: https://wordpress.org/plugins/bandstand/
* Description: A platform for music-oriented websites, allowing for easy management of gigs, discography, videos and more.
* Version: 0.1.0
* Author: AudioTheme
* Author URI: https://audiotheme.com/?utm_source=wordpress-plugin&utm_medium=link&utm_content=bandstand-author-uri&utm_campaign=plugins
* License: GPL-2.0+
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: bandstand
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* 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. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc., 59
* Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* The plugin version.
*/
define( 'BANDSTAND_VERSION', '0.1.0' );
/**
* Load the compatibility checker.
*/
require_once( dirname( __FILE__ ) . '/compatibility.php' );
/**
* Load the plugin or display a notice about requirements.
*/
if ( version_compare( phpversion(), Bandstand_Compatibility::MINIMUM_PHP_VERSION, '<' ) ) {
add_action( 'admin_notices', array( 'Bandstand_Compatibility', 'display_php_version_notice' ) );
} else {
require( dirname( __FILE__ ) . '/load.php' );
}