Files
ogre-suspension/ogre-suspension.php
Cooper Dalrymple 7d6c38f86c Initial attempt
2026-02-02 09:39:37 -06:00

36 lines
926 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',
'inc/integrations/class-wp-rocket.php',
]);
}
}
Suspension::instance();