Initial commit
This commit is contained in:
33
ogre-suspension.php
Normal file
33
ogre-suspension.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/*
|
||||
Plugin Name: OgreSuspension
|
||||
Plugin URI: https://git.cleverogre.com/cleverogre/ogre-suspension
|
||||
Description: OgreSuspension will lock down a WordPress instance with a custom suspension page and prevent access to the admin dashboard. Use with caution!
|
||||
Version: 1.0.0
|
||||
Author: CleverOgre
|
||||
Author URI: https://cleverogre.com/
|
||||
Text Domain: ogre-suspension
|
||||
License: GPLv3 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||
Copyright: © 2025 CleverOgre, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
namespace Ogre;
|
||||
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
require_once 'vendor/autoload.php';
|
||||
|
||||
final class Suspension extends Plugin {
|
||||
|
||||
protected function __construct() {
|
||||
parent::__construct();
|
||||
$this->add_files([
|
||||
'inc/class-template.php',
|
||||
'inc/class-admin.php',
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Suspension::instance();
|
||||
Reference in New Issue
Block a user