-
Notifications
You must be signed in to change notification settings - Fork 0
/
smart-seo.php
38 lines (36 loc) · 1.14 KB
/
smart-seo.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
<?php
/**
* Plugin Name: Smart SEO
* Description: Optimizes WordPress for better ranking in Google and other Search Engines
* Plugin URI: https://dedidata.com
* Author: DediData
* Author URI: https://dedidata.com
* Version: 2.0.1
* Requires at least: 6.0
* Tested up to: 6.4
* Requires PHP: 7.0
* License: GPL v3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: smart-seo
*
* @package Smart_Seo
*/
declare(strict_types=1);
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( '\DediData\Plugin_Autoloader' ) ) {
require 'includes/DediData/class-plugin-autoloader.php';
}
// Set name spaces we use in this plugin
new \DediData\Plugin_Autoloader( array( 'DediData', 'SmartSeo' ) );
/**
* The function SMART_SEO returns an instance of the Smart_Seo class.
*
* @return object an instance of the \SmartSeo\Smart_Seo class.
* @SuppressWarnings(PHPMD.StaticAccess)
*/
function SMART_SEO() { // phpcs:ignore Squiz.Functions.GlobalFunction.Found, WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
return \SmartSeo\Smart_Seo::get_instance( __FILE__ );
}
SMART_SEO();