Files
ogre-suspension/ogre-suspension.php
2025-12-09 18:01:24 -06:00

35 lines
874 B
PHP

<?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.1
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-redirect.php',
'inc/class-admin.php',
'inc/class-template.php',
]);
}
}
Suspension::instance();