forked from awesomemotive/all-in-one-seo-pack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
all_in_one_seo_pack.php
62 lines (53 loc) · 1.92 KB
/
all_in_one_seo_pack.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
60
61
62
<?php
/*
Plugin Name: All In One SEO Pack
Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
Description: Out-of-the-box SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. More than 50 million downloads since 2007.
Version: 3.4.2
Author: All in One SEO Team
Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
Text Domain: all-in-one-seo-pack
Domain Path: /i18n/
*/
/*
Copyright (C) 2007-2020 All in One SEO, https://semperplugins.com
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; version 2 of the License.
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, see <http://www.gnu.org/licenses/>.
*/
if ( ! defined( 'ABSPATH' ) ) {
return;
}
if ( ! defined( 'AIOSEO_PLUGIN_DIR' ) ) {
/**
* Plugin Directory
*
* @since 3.4
*
* @var string $AIOSEOP_PLUGIN_DIR Plugin folder directory path. Eg. `C:\WebProjects\UW-WPDev-aioseop\src-plugins/all-in-one-seo-pack/`
*/
define( 'AIOSEO_PLUGIN_DIR', dirname( __FILE__ ) );
}
if ( ! defined( 'AIOSEO_PLUGIN_FILE' ) ) {
/**
* Plugin File
*
* @since 3.4
*
* @var string $AIOSEOP_PLUGIN_FILE Plugin folder directory path. Eg. `C:\WebProjects\UW-WPDev-aioseop\src-plugins/all-in-one-seo-pack/`
*/
define( 'AIOSEO_PLUGIN_FILE', __FILE__ );
}
if ( ! class_exists( 'AIOSEOP_Core' ) ) {
require_once plugin_dir_path( __FILE__ ) . 'class-aioseop-core.php';
global $aioseop_core;
if ( is_null( $aioseop_core ) ) {
$aioseop_core = new AIOSEOP_Core();
}
}