-
Notifications
You must be signed in to change notification settings - Fork 13
/
so-clean-up-wp-seo.php
46 lines (38 loc) · 1.23 KB
/
so-clean-up-wp-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
39
40
41
42
43
44
45
46
<?php
/**
* Plugin Name: Hide SEO Bloat
* Plugin URI: https://so-wp.com/plugin/hide-seo-bloat
* Description: Hide most of the bloat that the Yoast SEO plugin adds to your WordPress Dashboard
* Version: 4.0.2
* Author: SO WP
* Author URI: https://so-wp.com
* License: GPL-3.0+
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Domain Path: /languages
* Text Domain: so-clean-up-wp-seo
* Network: true
* GitHub Plugin URI: https://github.com/senlin/so-clean-up-wp-seo
*/
// don't load the plugin file directly
if ( ! defined( 'ABSPATH' ) ) exit;
// Load plugin class files
require_once( 'includes/class-so-clean-up-wp-seo.php' );
require_once( 'includes/class-so-clean-up-wp-seo-settings.php' );
// Load separate remove class function
require_once( 'includes/remove-class.php' );
// Load plugin libraries
require_once( 'admin/class-so-clean-up-wp-seo-admin-api.php' );
/**
* Returns the main instance of CUWS to prevent the need to use globals.
*
* @since v2.0.0
* @return object CUWS
*/
function CUWS () {
$instance = CUWS::instance( __FILE__, '4.0.2' );
if ( null === $instance->settings ) {
$instance->settings = CUWS_Settings::instance( $instance );
}
return $instance;
}
CUWS();