-
Notifications
You must be signed in to change notification settings - Fork 0
/
adl-team.php
49 lines (39 loc) · 1.74 KB
/
adl-team.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
<?php
/*
Plugin Name: ADL Team
Plugin URI: https://aazztech.com/product/team-pro/
Description: A beautiful plugin that helps you display team members on your website very easily and you can also show details of your each team member on a separate member page with this plugin. You can see the <a href="https://aazztech.com/demos/plugins/adl-team-demo-1/m" target="_blank"> LIVE DEMO here</a>.
Version: 1.2.2
Author: AazzTech
Author URI: https://aazztech.com
License: GPLv2 or later
Text Domain: adl-team
*/
/*
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Copyright 2018 aazztech.
*/
// Make sure we don't expose any info if called directly
if ( !defined('ABSPATH') ) die( 'Cheating? Direct access is not allowed. ' );
if ( !defined('ADL_TEAM_BASE') ) { define('ADL_TEAM_BASE', plugin_basename( __FILE__ )); }
// Load plugin config
require_once 'config.php';
// main plugin class
require_once 'Main.php';
if ( class_exists( 'Adl_Team' ) ) { // Instantiate the plugin class
global $ADL_team;
$ADL_team = new Adl_Team();
$ADL_team->check_req_php_version();
$ADL_team->warn_if_unsupported_wp();
$ADL_team->init();
}