-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.php
30 lines (27 loc) · 1.29 KB
/
plugin.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
<?php
/**
* Plugin Name: Just Disable It
* Version: 1.1.2
* Author: Zac Scott
* Author URI: https://zacscott.net
* Description: Disable WordPress features for a faster, cleaner, more secure experience.
* Text Domain: just-disable-it
*/
require dirname( __FILE__ ) . '/vendor/autoload.php';
define( 'JUST_DISABLE_IT_PLUGIN_ABSPATH', dirname( __FILE__ ) );
define( 'JUST_DISABLE_IT_PLUGIN_ABSURL', plugin_dir_url( __FILE__ ) );
// Boot each of the plugin logic controllers.
new \JustDisableIt\Controller\DisableXMLRPCController();
new \JustDisableIt\Controller\DisableRESTController();
new \JustDisableIt\Controller\DisableSitemapsController();
new \JustDisableIt\Controller\DisableRSSFeedsController();
new \JustDisableIt\Controller\DisableCommentsController();
new \JustDisableIt\Controller\DisableSearchController();
new \JustDisableIt\Controller\DisableAuthorArchivesController();
new \JustDisableIt\Controller\DisableAttachmentPagesController();
new \JustDisableIt\Controller\Disable404GuessingController();
new \JustDisableIt\Controller\DisableEmojiScriptsController();
new \JustDisableIt\Controller\DisableSrcSetController();
new \JustDisableIt\Controller\DisableWPBrandingController();
new \JustDisableIt\Controller\DisableAdminMenusController();
new \JustDisableIt\Controller\SettingsController();